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/entity.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'install/ui/src/freeipa/entity.js') diff --git a/install/ui/src/freeipa/entity.js b/install/ui/src/freeipa/entity.js index d474ad95..08ba7e57 100644 --- a/install/ui/src/freeipa/entity.js +++ b/install/ui/src/freeipa/entity.js @@ -1,7 +1,3 @@ -/*jsl:import ipa.js */ -/*jsl:import facet.js */ -/*jsl:import navigation.js */ - /* Authors: * Pavel Zuna * Endi Sukma Dewata @@ -25,7 +21,7 @@ * along with this program. If not, see . */ -/* REQUIRES: ipa.js, facet.js, details.js, search.js, add.js */ +define(['./ipa', './jquery', './facet'], function(IPA, $) { IPA.entity = function(spec) { @@ -728,4 +724,7 @@ IPA.details_facet_update_policy = function(spec) { spec.dest_facet = 'search'; return IPA.facet_update_policy(spec); -}; \ No newline at end of file +}; + +return {}; +}); \ No newline at end of file -- cgit