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/navigation.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install/ui/src/freeipa/navigation.js') diff --git a/install/ui/src/freeipa/navigation.js b/install/ui/src/freeipa/navigation.js index deef37dd8..910fb79e2 100644 --- a/install/ui/src/freeipa/navigation.js +++ b/install/ui/src/freeipa/navigation.js @@ -21,6 +21,8 @@ * along with this program. If not, see . */ +define(['./ipa', './jquery'], function(IPA, $) { + IPA.navigation = function(spec) { spec = spec || {}; @@ -453,3 +455,6 @@ IPA.navigation = function(spec) { return that; }; + +return {}; +}); \ No newline at end of file -- cgit