diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-11-26 14:50:43 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-01-18 15:10:36 +0100 |
commit | e3ce3e4f393d45d4e611a129db6cb7abfa5ad716 (patch) | |
tree | 69eac7ad762b4350a87109a18a5aabae98f5a420 /install/ui/config.js | |
parent | be0a120134680c5977f8a8c9e6d359944fa1f2ab (diff) | |
download | freeipa.git-e3ce3e4f393d45d4e611a129db6cb7abfa5ad716.tar.gz freeipa.git-e3ce3e4f393d45d4e611a129db6cb7abfa5ad716.tar.xz freeipa.git-e3ce3e4f393d45d4e611a129db6cb7abfa5ad716.zip |
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
Diffstat (limited to 'install/ui/config.js')
-rw-r--r-- | install/ui/config.js | 39 |
1 files changed, 39 insertions, 0 deletions
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 <pvoborni@redhat.com> + * + * 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 <http://www.gnu.org/licenses/>. +*/ + +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 |