main.js revision 48ddd46e9e22ee57a7fb400c6296f977c11173b3
286N/A/**
286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
286N/A *
286N/A * Copyright (c) 2011-2013 ForgeRock AS. All rights reserved.
286N/A *
286N/A * The contents of this file are subject to the terms
286N/A * of the Common Development and Distribution License
286N/A * (the License). You may not use this file except in
286N/A * compliance with the License.
286N/A *
286N/A * You can obtain a copy of the License at
286N/A * http://forgerock.org/license/CDDLv1.0.html
286N/A * See the License for the specific language governing
286N/A * permission and limitations under the License.
286N/A *
286N/A * When distributing Covered Code, include this CDDL
286N/A * Header Notice in each file and include the License file
286N/A * at http://forgerock.org/license/CDDLv1.0.html
286N/A * If applicable, add the following below the CDDL Header,
286N/A * with the fields enclosed by brackets [] replaced by
286N/A * your own identifying information:
286N/A * "Portions Copyrighted [year] [name of copyright owner]"
286N/A */
286N/A
286N/A/*global require, define*/
286N/A
286N/Arequire.config({
286N/A paths: {
286N/A less: "libs/less-1.5.1-min",
286N/A i18next: "libs/i18next-1.7.3-min",
286N/A i18nGrid: "libs/i18n/grid.locale-en",
286N/A backbone: "libs/backbone-0.9.2-min",
286N/A underscore: "libs/underscore-1.4.4-min",
286N/A js2form: "libs/js2form-1.0",
286N/A form2js: "libs/form2js-1.0",
286N/A spin: "libs/spin-1.2.5-min",
286N/A jqueryui: "libs/jquery-ui-1.10.4.custom-min",
286N/A jqgrid: "libs/jquery.jqGrid-4.5.4-min",
286N/A xdate: "libs/xdate-0.7-min",
286N/A doTimeout: "libs/jquery.ba-dotimeout-1.0-min",
286N/A handlebars: "libs/handlebars-1.0.rc.1",
286N/A moment: "libs/moment-1.7.2-min",
286N/A AuthnDelegate: "org/forgerock/openidm/ui/common/delegates/AuthnDelegate",
286N/A ThemeManager: "org/forgerock/openidm/ui/common/util/ThemeManager",
286N/A SiteIdentificationDelegate: "org/forgerock/openidm/ui/common/delegates/SiteIdentificationDelegate"
286N/A },
286N/A
286N/A shim: {
286N/A underscore: {
286N/A exports: "_"
286N/A },
286N/A backbone: {
286N/A deps: ["underscore"],
286N/A exports: "Backbone"
286N/A },
286N/A js2form: {
286N/A exports: "js2form"
286N/A },
286N/A form2js: {
286N/A exports: "form2js"
286N/A },
286N/A spin: {
286N/A exports: "spin"
286N/A },
286N/A jqueryui: {
286N/A exports: "jqueryui"
286N/A },
286N/A jqgrid: {
286N/A deps: ["jqueryui", "i18nGrid"]
286N/A },
286N/A xdate: {
286N/A exports: "xdate"
286N/A },
286N/A doTimeout: {
286N/A exports: "doTimeout"
286N/A },
286N/A handlebars: {
286N/A exports: "handlebars"
286N/A },
286N/A i18next: {
286N/A deps: ["handlebars"],
286N/A exports: "i18next"
286N/A },
286N/A moment: {
286N/A exports: "moment"
286N/A }
286N/A }
286N/A});
286N/A
286N/A/**
286N/A * Loads all application on start, so each module will be available to
286N/A * required synchronously
286N/A */
286N/Arequire([
286N/A "less",
286N/A "underscore",
286N/A "backbone",
286N/A "form2js",
286N/A "js2form",
286N/A "spin",
286N/A "jqgrid",
286N/A "jqueryui",
286N/A "xdate",
286N/A "moment",
286N/A "doTimeout",
286N/A "handlebars",
286N/A "i18next",
286N/A "org/forgerock/commons/ui/common/main/i18nManager",
286N/A "org/forgerock/commons/ui/common/util/Constants",
286N/A "org/forgerock/commons/ui/common/main/EventManager",
286N/A "org/forgerock/openidm/ui/common/main",
286N/A "org/forgerock/openidm/ui/admin/main",
286N/A "org/forgerock/commons/ui/common/main",
286N/A "config/main"
286N/A], function(a, b, c, d, e, g, h, i, j, k, l, m, n, i18n, constants, eventManager) {
286N/A eventManager.sendEvent(constants.EVENT_DEPENDECIES_LOADED);
559N/A});
286N/A
286N/A
286N/A
286N/A