Files
Phraseanet/www/scripts/apps/login/home/config.js
Romain Neutron 9fa95db23c Fix JS codestyle
2013-11-12 12:49:23 +01:00

40 lines
1.2 KiB
JavaScript

/*
* This file is part of Phraseanet
*
* (c) 2005-2013 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// configure AMD loading
require.config({
baseUrl: "/scripts",
paths: {
jquery: "../assets/jquery/jquery",
jqueryui: "../include/jslibs/jquery-ui-1.10.3.min",
underscore: "../assets/underscore-amd/underscore",
backbone: "../assets/backbone-amd/backbone",
i18n: "../assets/i18next/release/i18next.amd-1.6.2.min",
bootstrap: "../skins/build/bootstrap/js/bootstrap.min",
multiselect: "../assets/bootstrap-multiselect/js/bootstrap-multiselect",
"jquery.geonames": "../assets/geonames-server-jquery-plugin/jquery.geonames"
},
shim: {
bootstrap: ["jquery"],
jqueryui: {
deps: ["jquery"]
},
"jquery.geonames": {
deps: ['jquery', 'jqueryui'],
exports: '$.fn.geocompleter'
},
"common/geonames": {
deps: ["jquery.geonames"]
},
multiselect: {
deps: ["jquery", "bootstrap"]
}
}
});