You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
827 B
JavaScript
31 lines
827 B
JavaScript
(function (root, factory) {
|
|
'use strict';
|
|
if (typeof define === 'function' && define.amd) {
|
|
define('config', [], factory);
|
|
} else if (typeof exports === 'object') {
|
|
module.exports = factory();
|
|
} else {
|
|
root.RequireConfig = factory();
|
|
}
|
|
}(this, function () {
|
|
'use strict';
|
|
|
|
return function (prefix) {
|
|
prefix = prefix || '';
|
|
|
|
return {
|
|
paths: {
|
|
backbone: prefix + '/vendor/backbone/backbone',
|
|
handlebars: prefix + '/vendor/handlebars/handlebars.runtime',
|
|
jquery: prefix + '/vendor/jquery/dist/jquery',
|
|
marionette: prefix + '/vendor/marionette/lib/backbone.marionette',
|
|
underscore: prefix + '/vendor/underscore/underscore'
|
|
},
|
|
shim: {
|
|
handlebars: {exports: 'Handlebars'},
|
|
underscore: {exports: '_'}
|
|
}
|
|
};
|
|
};
|
|
}));
|