forked from aurajs/aura
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
46 lines (41 loc) · 1.32 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
require.config({
// shim underscore & backbone (cause we use the non AMD versions here)
shim: {
'dom': {
exports: '$',
deps: ['jquery'] // switch to the DOM-lib of your choice
},
'underscore': {
exports: '_'
},
'backbone': {
deps: ['underscore', 'dom'],
exports: 'Backbone'
},
'deferred': {
exports: 'Deferred',
deps: ['dom']
}
},
// paths
paths: {
// jQuery
jquery: '../../aura/lib/jquery/jquery',
// Zepto
zepto: '../../aura/lib/zepto/zepto',
deferred: '../../aura/lib/zepto/deferred',
dom: '../../aura/lib/dom',
core: '../../backbone-aura/mediator',
perms: '../../backbone-aura/permissions',
sandbox: '../../backbone-aura/facade',
aura_core: '../../aura/mediator',
aura_perms: '../../aura/permissions',
aura_sandbox: '../../aura/facade',
text: '../../backbone-aura/lib/text',
backbone: '../../backbone-aura/lib/backbone',
localstorage: '../../backbone-aura/lib/localstorage',
underscore: '../../aura/lib/underscore',
fullcalendar: '../../backbone-aura/lib/fullcalendar.min',
jquery_ui: '../../backbone-aura/lib/jquery-ui.min'
}
})