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