-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
33 lines (29 loc) · 758 Bytes
/
main.js
File metadata and controls
33 lines (29 loc) · 758 Bytes
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({
paths: {
'jquery' : 'lib/jquery-2.1.0.min',
'engine' : 'js/engine',
'map' : 'js/map',
'user' : 'js/user',
'userStats' : 'js/userStats',
'genericObject' : 'js/objects/genericObject',
'stage' : 'js/objects/stage',
'clock' : 'js/clock',
'gameInformation': 'js/gameInformation',
'layout' : 'js/layout',
'genericPopup' : 'js/popups/genericPopup',
'configs' : 'js/configs',
'levels' : 'js/levels/levels',
'portal' : 'js/objects/portal'
},
shim: {
'jquery': {
exports: '$'
}
}
});
var e;
require(['engine'], function(Engine) {
e = Engine;
Engine.initialize();
Engine.start();
});