define(
'agent/app',
[
'agent/Router'
],
function(Router) {
console.log('app');
new Router();
}
);
{
urlArgs: 'bust=' + (new Date()).getTime(),
baseUrl: '/site_static/js',
paths: {
underscore: 'libs/underscore',
backbone: 'libs/backbone',
jquery: 'libs/jquery'
},
shim: {
underscore: {exports: '_'},
backbone: {exports: 'Backbone'},
jquery: {exports: '$'}
}
};
paths: {
underscore: 'libs/underscore',
backbone: 'libs/backbone',
jquery: 'libs/jquery',
app : 'agent/app',
router : 'app/router'
},
require('app');
require('router');