From 5e90c9884977b07be8cd0d4f6377b633f29e4ad1 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 12 Nov 2012 18:05:13 +0100 Subject: Change Web UI sources to simple AMD modules Web UI sources were wrapped by AMD definition. Listed dependencies were changed accordingly. https://fedorahosted.org/freeipa/ticket/112 --- install/ui/src/freeipa/idrange.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/idrange.js') diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index b2ce3169..847bc98a 100644 --- a/install/ui/src/freeipa/idrange.js +++ b/install/ui/src/freeipa/idrange.js @@ -1,5 +1,3 @@ -/*jsl:import ipa.js */ - /* Authors: * Petr Vobornik * @@ -20,7 +18,8 @@ * along with this program. If not, see . */ -/* REQUIRES: ipa.js, details.js, search.js, add.js, facet.js, entity.js */ +define(['./ipa', './jquery', './details', './search', './association', + './entity'], function(IPA, $) { IPA.idrange = {}; @@ -160,3 +159,6 @@ IPA.idrange.entity = function(spec) { }; IPA.register('idrange', IPA.idrange.entity); + +return {}; +}); \ No newline at end of file -- cgit