-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
33 lines (33 loc) · 858 Bytes
/
app.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
requirejs.config({
baseUrl: 'js/lib',
urlArgs: '_=' + (new Date()).getTime(),
paths: {
app: '..',
jquery: 'jquery-1.10.2.min',
canvaslib: 'canvas/lib-1.7',
canvasmap: 'canvas/map-1.0',
bootstrap: '../../bootstrap/js/bootstrap.min',
'bootstrap-slider': '../../bootstrap/js/bootstrap-slider.min'
},
shim: {
canvaslib: {
exports: "$lib"
},
canvasmap: {
exports: "Map"
},
underscore: {
exports: "_"
},
bootstrap: {
deps: ['jquery']
},
'bootstrap-slider': {
deps: ['jquery','bootstrap']
},
'app/arkanoid': {
deps: ['jquery','bootstrap','bootstrap-slider']
}
}
});
requirejs(['bootstrap','bootstrap-slider','app/arkanoid']);