config.js
1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* global require:true */
require = (function() {
'use strict';
var require = {
baseUrl: 'scripts',
deps: [
'main',
],
map: {
'*': {
'backbone': 'setup/backbone',
'rivets': 'setup/rivets',
},
'setup/backbone': {backbone: 'backbone'},
'setup/rivets': {rivets: 'rivets'},
'rivets-backbone-adapter': {rivets: 'rivets'},
},
paths: {
jquery: '../lib/jquery/dist/jquery',
underscore: '../lib/underscore/underscore',
backbone: '../lib/backbone/backbone',
rivets: '../lib/rivets/dist/rivets.min',
sightglass: '../lib/sightglass/index',
},
shim: {
backbone : {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
},
rivets : {
deps: ['sightglass'],
exports: 'rivets'
},
'rivets-backbone-adapter' : {
deps: ['rivets']
},
sightglass: {
exports: 'sightglass'
},
underscore : {
exports: '_'
},
},
};
return require;
})();