main.js revision e217869edbae075c18fd85c2d468a7ce9050b3b3
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * Copyright (c) 2011-2015 ForgeRock AS. All rights reserved.
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * The contents of this file are subject to the terms
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * of the Common Development and Distribution License
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * (the License). You may not use this file except in
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * compliance with the License.
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * You can obtain a copy of the License at
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * See the License for the specific language governing
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * permission and limitations under the License.
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * When distributing Covered Code, include this CDDL
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * Header Notice in each file and include the License file
5af486b23de789a6978e855f20235758122bd2abAndrew Forrest * at http://forgerock.org/license/CDDLv1.0.html
5af486b23de789a6978e855f20235758122bd2abAndrew Forrest * If applicable, add the following below the CDDL Header,
6496393f22035a1aa8d4d49ccfa5bb15f9ccbbbbAndrew Forrest * with the fields enclosed by brackets [] replaced by
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * your own identifying information:
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * "Portions Copyrighted [year] [name of copyright owner]"
5af486b23de789a6978e855f20235758122bd2abAndrew Forrest/*global require, define, window */
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest * @author yaromin
b59db10c9e545a767806dc5cfea3bc7b05408401Andrew Forrest doTimeout: "libs/jquery.ba-dotimeout-1.0-min",
5af486b23de789a6978e855f20235758122bd2abAndrew Forrest AuthnDelegate: "org/forgerock/openidm/ui/common/delegates/AuthnDelegate",
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest UserDelegate: "org/forgerock/openidm/ui/user/delegates/UserDelegate",
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest ThemeManager: "org/forgerock/openidm/ui/common/util/ThemeManager",
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest * Loads all application on start, so each module will be available to
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest * required synchronously
5af486b23de789a6978e855f20235758122bd2abAndrew Forrest "underscore",
6496393f22035a1aa8d4d49ccfa5bb15f9ccbbbbAndrew Forrest "handlebars",
b59db10c9e545a767806dc5cfea3bc7b05408401Andrew Forrest "jsonEditor",
6496393f22035a1aa8d4d49ccfa5bb15f9ccbbbbAndrew Forrest "contentflow",
6496393f22035a1aa8d4d49ccfa5bb15f9ccbbbbAndrew Forrest "org/forgerock/commons/ui/common/main/i18nManager",
9401b2513f39074de0be9ae452108d0508a6d59fAndrew Forrest "org/forgerock/commons/ui/common/util/Constants",
less,
spin,
i18n,
eventManager) {
// Helpers for the code that hasn't been properly migrated to require these as explicit dependencies:
window.$ = $;
window._ = _;