main.js revision 498b47517d2861e0dfb987e04505120067785a8c
0N/A/**
1472N/A * The contents of this file are subject to the terms of the Common Development and
0N/A * Distribution License (the License). You may not use this file except in compliance with the
0N/A * License.
0N/A *
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * specific language governing permission and limitations under the License.
0N/A *
0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A * information: "Portions copyright [year] [name of copyright owner]".
0N/A *
0N/A * Portions copyright 2011-2015 ForgeRock AS.
0N/A */
0N/A
0N/Arequire.config({
0N/A map: {
1472N/A "*" : {
1472N/A "Footer" : "org/forgerock/openam/ui/common/components/Footer",
1472N/A "ThemeManager" : "org/forgerock/openam/ui/common/util/ThemeManager",
0N/A "LoginView" : "org/forgerock/openam/ui/user/login/RESTLoginView",
0N/A "ForgotUsernameView": "org/forgerock/openam/ui/user/anonymousProcess/ForgotUsernameView",
0N/A "PasswordResetView" : "org/forgerock/openam/ui/user/anonymousProcess/PasswordResetView",
0N/A "UserProfileView" : "org/forgerock/commons/ui/user/profile/UserProfileView",
0N/A "LoginDialog" : "org/forgerock/openam/ui/user/login/RESTLoginDialog",
0N/A "NavigationFilter" : "org/forgerock/openam/ui/common/components/navigation/filters/RouteNavGroupFilter",
0N/A "RegisterView" : "org/forgerock/openam/ui/user/anonymousProcess/SelfRegistrationView",
0N/A // TODO: Remove this when there are no longer any references to the "underscore" dependency
0N/A "underscore" : "lodash"
0N/A }
0N/A },
0N/A paths: {
0N/A "autosizeInput": "libs/jquery.autosize.input.min",
0N/A
0N/A "backbone" : "libs/backbone-1.1.2-min",
0N/A "backbone.paginator" : "libs/backbone.paginator.min-2.0.2-min",
0N/A "backbone-relational": "libs/backbone-relational-0.9.0-min",
0N/A
0N/A "backgrid" : "libs/backgrid.min-0.3.5-min",
727N/A "backgrid-filter" : "libs/backgrid-filter.min-0.3.5-min",
727N/A "backgrid.paginator": "libs/backgrid-paginator-0.3.5-custom.min",
727N/A "backgrid-selectall": "libs/backgrid-select-all-0.3.5-min",
727N/A
727N/A "bootstrap" : "libs/bootstrap-3.3.5-custom",
0N/A "bootstrap-datetimepicker": "libs/bootstrap-datetimepicker-4.14.30-min",
0N/A "bootstrap-dialog" : "libs/bootstrap-dialog-1.34.4-min",
0N/A "bootstrap-tabdrop" : "libs/bootstrap-tabdrop-1.0",
0N/A
0N/A "clockPicker" : "libs/bootstrap-clockpicker-0.0.7-min",
0N/A "doTimeout" : "libs/jquery.ba-dotimeout-1.0-min",
0N/A "form2js" : "libs/form2js-2.0",
0N/A "handlebars" : "libs/handlebars-3.0.3-min",
0N/A "i18next" : "libs/i18next-1.7.3-min",
0N/A "jquery" : "libs/jquery-2.1.1-min",
0N/A "js2form" : "libs/js2form-2.0",
0N/A "jsonEditor" : "libs/jsoneditor-0.7.22-custom",
0N/A "lodash" : "libs/lodash-3.10.1-min",
0N/A "moment" : "libs/moment-2.8.1-min",
0N/A "qrcode" : "libs/qrcode-1.0.0-min",
0N/A "sortable" : "libs/jquery-nestingSortable-0.9.12",
0N/A "spin" : "libs/spin-2.0.1-min",
0N/A "xdate" : "libs/xdate-0.8-min",
0N/A "selectize" : "libs/selectize-non-standalone-0.12.1-min",
0N/A "sifter" : "libs/sifter-0.4.1-min",
0N/A "microplugin" : "libs/microplugin-0.0.3"
0N/A },
0N/A shim: {
0N/A "autosizeInput": {
0N/A deps: ["jquery"],
727N/A exports: "autosizeInput"
727N/A },
727N/A "backbone": {
0N/A deps: ["underscore"],
0N/A exports: "Backbone"
0N/A },
0N/A "backbone.paginator": {
0N/A deps: ["backbone"]
0N/A },
0N/A "backbone-relational": {
0N/A deps: ["backbone"]
0N/A },
0N/A
0N/A "backgrid": {
0N/A deps: ["jquery", "underscore", "backbone"],
0N/A exports: "Backgrid"
0N/A },
0N/A "backgrid-filter": {
0N/A deps: ["backgrid"]
0N/A },
0N/A "backgrid.paginator": {
0N/A deps: ["backgrid", "backbone.paginator"]
0N/A },
0N/A "backgrid-selectall": {
0N/A deps: ["backgrid"]
0N/A },
0N/A
0N/A "bootstrap": {
0N/A deps: ["jquery"]
0N/A },
0N/A "bootstrap-dialog": {
1006N/A deps: ["jquery", "underscore", "backbone", "bootstrap"]
1006N/A },
1006N/A "bootstrap-tabdrop": {
1006N/A deps: ["jquery", "bootstrap"]
1006N/A },
727N/A
727N/A "clockPicker": {
0N/A deps: ["jquery"],
727N/A exports: "clockPicker"
0N/A },
0N/A "doTimeout": {
0N/A deps: ["jquery"],
0N/A exports: "doTimeout"
0N/A },
0N/A "form2js": {
0N/A exports: "form2js"
0N/A },
0N/A "i18next": {
0N/A deps: ["jquery", "handlebars"],
0N/A exports: "i18next"
0N/A },
0N/A "js2form": {
0N/A exports: "js2form"
0N/A },
0N/A "jsonEditor": {
0N/A exports: "JSONEditor"
0N/A },
0N/A "moment": {
0N/A exports: "moment"
0N/A },
0N/A "qrcode": {
0N/A exports: "qrcode"
0N/A },
0N/A "selectize": {
0N/A /**
0N/A * sifter, microplugin is additional dependencies for fix release build.
0N/A * @see https://github.com/brianreavis/selectize.js/issues/417
0N/A */
0N/A deps: ["jquery", "sifter", "microplugin"]
0N/A },
0N/A "spin": {
0N/A exports: "spin"
0N/A },
727N/A "underscore": {
727N/A exports: "_"
0N/A },
727N/A "xdate": {
727N/A exports: "xdate"
727N/A },
727N/A "sortable": {
727N/A deps: ["jquery"]
727N/A }
727N/A }
727N/A});
727N/A
727N/Arequire([
727N/A "org/forgerock/commons/ui/common/util/Constants",
0N/A "org/forgerock/commons/ui/common/main/EventManager",
0N/A
727N/A // other modules that are necessary to include to startup the app
727N/A "jquery",
727N/A "underscore",
622N/A "backbone",
727N/A "handlebars",
727N/A "i18next",
727N/A "spin",
622N/A "org/forgerock/commons/ui/common/main",
727N/A "org/forgerock/openam/ui/main",
727N/A "config/main"
727N/A
622N/A], function (Constants, EventManager) {
727N/A EventManager.sendEvent(Constants.EVENT_DEPENDENCIES_LOADED);
727N/A});
727N/A