-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
73 lines (72 loc) · 1.64 KB
/
config.js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
require.config({
paths: {
jquery: 'core/js/libraries/jquery',
underscore: 'core/js/libraries/underscore',
backbone: 'core/js/libraries/backbone',
modernizr: 'core/js/libraries/modernizr',
handlebars: 'core/js/libraries/handlebars',
velocity: 'core/js/libraries/velocity',
imageReady: 'core/js/libraries/imageReady',
inview: 'core/js/libraries/inview',
a11y: 'core/js/libraries/jquery.a11y',
scrollTo: 'core/js/libraries/scrollTo',
templates: 'templates/templates'
},
shim: {
jquery: {
exports: '$'
},
backbone: {
deps: [
'underscore',
'jquery'
],
exports: 'Backbone'
},
underscore: {
exports: '_'
},
handlebars: {
exports: 'Handlebars'
},
velocity: {
deps: [
'jquery'
]
},
imageReady: {
deps: [
'jquery'
]
},
inview: {
deps: [
'jquery'
]
},
scrollTo: {
deps: [
'jquery'
]
},
a11y: {
deps: [
'jquery'
]
}
},
packages: [
],
exclude: [
'jquery'
],
map: {
'*': {
coreJS: 'core/js',
coreViews: 'core/js/views',
coreModels: 'core/js/models',
coreCollections: 'core/js/collections',
coreHelpers: 'core/js/helpers'
}
}
});