main-device.js revision 56ff07c1a4807c56e311343ab93134d62be8c24e
/**
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [year] [name of copyright owner]".
*
* Copyright 2015 ForgeRock AS.
*/
/*global require, define, window*/
map: {
"*" : {
// TODO: Remove this when there are no longer any references to the "underscore" dependency
"underscore" : "lodash"
}
},
paths: {
"lodash": "libs/lodash-3.10.1-min",
"handlebars": "libs/handlebars-3.0.3-min",
"i18next": "libs/i18next-1.7.3-min",
"jquery": "libs/jquery-2.1.1-min",
},
shim: {
"handlebars": {
exports: "handlebars"
},
"i18next": {
exports: "i18next"
},
"underscore": {
exports: "_"
}
}
});
require([
"jquery",
"handlebars",
"text!templates/user/DeviceTemplate.html",
"text!templates/user/DeviceDoneTemplate.html",
"text!templates/common/LoginBaseTemplate.html",
"text!templates/common/FooterTemplate.html",
"ThemeManager",
paramLang: {
},
nameSpace: "device"
});
});
});