main.js revision fcfeab652394e5fddf0101c230ea3d30b9649538
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
e217869edbae075c18fd85c2d468a7ce9050b3b3Jake Feasel * Copyright (c) 2014-2015 ForgeRock AS. All rights reserved.
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * The contents of this file are subject to the terms
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * of the Common Development and Distribution License
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * (the License). You may not use this file except in
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * compliance with the License.
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * You can obtain a copy of the License at
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * http://forgerock.org/license/CDDLv1.0.html
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * See the License for the specific language governing
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * permission and limitations under the License.
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * When distributing Covered Code, include this CDDL
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * Header Notice in each file and include the License file
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * at http://forgerock.org/license/CDDLv1.0.html
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * If applicable, add the following below the CDDL Header,
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * with the fields enclosed by brackets [] replaced by
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * your own identifying information:
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * "Portions Copyrighted [year] [name of copyright owner]"
9ad7d0020702ab233be7bce3c52cf209ebec0e35huck.elliott/*global require, define, window, JSONEditor */
d5b7485f164e9584d8b84bd882cb8df10c61bfa9Elizabeth Browne gentleSelect: "libs/jquery-gentleSelect-0.1.3.1-min",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne doTimeout: "libs/jquery.ba-dotimeout-1.0-min",
8d7f4062530cb28c3500555d87f62ed1a95cc630Jason Browne "bootstrap-dialog": "libs/bootstrap-dialog.min",
5ba21fe7054811ca234da9534ff33b26242a3c70Elizabeth Browne "bootstrap-tabdrop": "libs/bootstrap-tabdrop-1.0",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne AuthnDelegate: "org/forgerock/openidm/ui/common/delegates/AuthnDelegate",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne ThemeManager: "org/forgerock/openidm/ui/common/util/ThemeManager",
8d7f4062530cb28c3500555d87f62ed1a95cc630Jason Browne 'bootstrap-dialog': {
8d7f4062530cb28c3500555d87f62ed1a95cc630Jason Browne deps: ["jquery", "underscore","backbone", "bootstrap"]
5ba21fe7054811ca234da9534ff33b26242a3c70Elizabeth Browne 'bootstrap-tabdrop': {
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * Loads all application on start, so each module will be available to
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne * required synchronously
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne "underscore",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne "handlebars",
95f6a8dff82d34449590f9a50ccc70df924d5a8fJason Browne "placeholder",
cbbe3a4aab44b4352cec9dac8831028f16c392d2Elizabeth Browne "jsonEditor",
4e74818e3d2f5b362c256e8d08ea2da2222f7a4bJake Feasel "gentleSelect",
15b38efb2ff497ce4f3efd3bd89d2c0e8e8eca1eJason Browne "selectize",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne "org/forgerock/commons/ui/common/main/i18nManager",
cbbe3a4aab44b4352cec9dac8831028f16c392d2Elizabeth Browne "org/forgerock/commons/ui/common/util/Constants",
48ddd46e9e22ee57a7fb400c6296f977c11173b3Elizabeth Browne "org/forgerock/commons/ui/common/main/EventManager",
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel "AuthnDelegate",
c54f5c9f018cfaf6792ae351d3f0be15efdd175eJake Feasel "ThemeManager",
4e74818e3d2f5b362c256e8d08ea2da2222f7a4bJake Feasel // Helpers for the code that hasn't been properly migrated to require these as explicit dependencies:
da94b90a76ad985d8b442a0571f96a2cf8e1d551Elizabeth Browne eventManager.sendEvent(constants.EVENT_DEPENDECIES_LOADED);
9ad7d0020702ab233be7bce3c52cf209ebec0e35huck.elliott JSONEditor.defaults.options.theme = 'bootstrap3';
9ad7d0020702ab233be7bce3c52cf209ebec0e35huck.elliott JSONEditor.defaults.options.iconlib = "fontawesome4";