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.

29 lines
712 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',
jquery: prefix + '/vendor/jquery/dist/jquery',
marionette: prefix + '/vendor/marionette/lib/backbone.marionette',
underscore: prefix + '/vendor/underscore/underscore'
},
shim: {
underscore: {exports: '_'}
}
};
};
}));