From e472a3419e60cda05978994db3915962a241a86f Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 26 Nov 2012 14:50:43 +0100 Subject: AMD config file Added configuration file for DOJO loader. Removal of JS links from index.html of files which were changed to AMD modules. https://fedorahosted.org/freeipa/ticket/112 --- install/ui/config.js | 39 ++++++++++++++++++++++++++++++++++ install/ui/index.html | 58 ++++++++++++--------------------------------------- 2 files changed, 52 insertions(+), 45 deletions(-) create mode 100644 install/ui/config.js diff --git a/install/ui/config.js b/install/ui/config.js new file mode 100644 index 00000000..e984676f --- /dev/null +++ b/install/ui/config.js @@ -0,0 +1,39 @@ +/* Authors: + * Petr Vobornik + * + * Copyright (C) 2012 Red Hat + * see file 'COPYING' for use and warranty information + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + +var dojoConfig= { + baseUrl: "js", + has: { + 'dojo-firebug': false, + 'dojo-debug-messages': true + }, + parseOnLoad: false, + async: true, + packages: [ + { + name:'dojo', + location:'dojo' + }, + { + name: 'freeipa', + location: 'freeipa' + } + ] +}; \ No newline at end of file diff --git a/install/ui/index.html b/install/ui/index.html index ba86a521..5dc70db5 100644 --- a/install/ui/index.html +++ b/install/ui/index.html @@ -13,51 +13,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + -- cgit