-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
72 lines (71 loc) · 1.9 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
// LICENCE https://github.com/adaptlearning/adapt_authoring/blob/master/LICENSE
require.config({
paths: {
jquery: 'core/libraries/jquery',
underscore: 'core/libraries/underscore',
backbone: 'core/libraries/backbone',
modernizr: 'core/libraries/modernizr',
handlebars: 'core/libraries/handlebars',
coreJS: 'core',
templates: 'templates/templates',
polyglot: 'core/libraries/polyglot.min',
jsoneditor: 'core/libraries/jquery.jsoneditor.min',
'jquery-ui': 'core/libraries/jquery-ui.min',
'jquery-form' : 'core/libraries/jquery.form',
velocity: 'core/libraries/velocity',
scrollTo: 'core/libraries/scrollTo',
'mediaelement-and-player' : 'core/libraries/mediaelement-and-player',
editorPage: 'core/editor/page',
editorMenu: 'core/editor/menu',
editorCourse: 'core/editor/course',
editorConfig: 'core/editor/config',
editorTheme: 'core/editor/theme',
editorGlobal: 'core/editor/global',
editorExtensions: 'core/editor/extensions',
tagsInput: 'core/libraries/jquery.tagsinput.min.js'
},
shim: {
jquery: [
],
backbone: {
deps: [
'underscore',
'jquery'
],
exports: 'Backbone'
},
underscore: {
exports: '_'
},
handlebars: {
exports: 'Handlebars'
},
polyglot: {
exports: 'Polyglot'
},
jsoneditor: {
deps: ['jquery'],
exports: 'JsonEditor'
},
velocity: {
deps: ['jquery'],
exports: 'velocity'
},
scrollTo: {
deps: ['jquery'],
exports: 'scrollTo'
},
'jquery-ui': {
deps: ['jquery'],
exports: "$"
},
'jquery-form': {
deps: ['jquery'],
exports: "$"
},
'tagsInput': {
deps: ['jquery'],
exports: "$"
}
}
});