From e7bfac1e63360993aea2be91082ca69c478f3cf1 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 19 Mar 2014 15:29:58 +0100 Subject: webui: make navigation module independent on app module When some module used 'freeipa/navigation' it pulled the entire Web UI because navigation depended on app. This patch splits the app into two modules: app and app_container. App specifies the entities which are part of final application. app_container module represents the application boot classes. Navigation now depends on app_container. Reviewed-By: Adam Misnyovszki --- install/ui/src/freeipa/menu.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/src/freeipa/menu.js') diff --git a/install/ui/src/freeipa/menu.js b/install/ui/src/freeipa/menu.js index 3da643890..2cd9bdcd7 100644 --- a/install/ui/src/freeipa/menu.js +++ b/install/ui/src/freeipa/menu.js @@ -21,15 +21,15 @@ define([ 'dojo/_base/lang', - './app', // creates circular dependency + './app_container', './ipa', 'exports' // for handling circular dependency ], - function(lang, app, IPA, exports) { + function(lang, app_container, IPA, exports) { var get_menu = function() { - return app.app.menu; + return app_container.app.menu; }, /** -- cgit