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/user.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'install/ui/src/freeipa/user.js') diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index ac51db2b..a7beca18 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -1,5 +1,3 @@ -/*jsl:import ipa.js */ - /* Authors: * Pavel Zuna * Adam Young @@ -23,7 +21,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', './certificate'], function(IPA, $) { IPA.user = {}; @@ -660,4 +659,7 @@ IPA.user.reset_password_acl_evaluator = function(spec) { return that; }; -IPA.register('user', IPA.user.entity); \ No newline at end of file +IPA.register('user', IPA.user.entity); + +return {}; +}); -- cgit