25 lines
912 B
JavaScript
25 lines
912 B
JavaScript
var pathJquery = "http://ajax.googleapis.com/ajax/libs/jquery/" + myManifest.Settings.JQueryVersion + "/jquery.min";
|
|
var pathJqueryMobile = "http://code.jquery.com/mobile/" + myManifest.Settings.JQueryMobileVersion + "/jquery.mobile-" + myManifest.Settings.JQueryMobileVersion + ".min";
|
|
// "http://ajax.googleapis.com/ajax/libs/jquerymobile/"+ myManifest.Settings.JQueryMobileVersion + "/jquery.mobile.min";
|
|
|
|
requirejs.config({
|
|
baseUrl: 'js',
|
|
urlArgs: "v" + myManifest.getUrlArg(),
|
|
paths: {
|
|
jquery: pathJquery,
|
|
underscore: 'libs/underscore-min',
|
|
jQueryPlugins: 'libs/jQueryPlugins',
|
|
backbone: 'libs/backbone-min',
|
|
jqm: pathJqueryMobile,
|
|
text: 'libs/text'
|
|
},
|
|
shim: {
|
|
jqm: {
|
|
deps: [ 'jquery' ]
|
|
},
|
|
jQueryPlugins: {
|
|
deps: [ 'jquery' ]
|
|
}
|
|
},
|
|
deps:[ "main" ]
|
|
}); |