-
Notifications
You must be signed in to change notification settings - Fork 1
/
require.config.js
67 lines (65 loc) · 1.48 KB
/
require.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
requirejs.config({
baseUrl: './',
paths: {
app: 'app',
models: 'models',
collections: 'collections',
views: 'views',
routers: 'routers',
templates: 'templates',
text: 'lib/text',
jquery: 'deps/jquery/dist/jquery.min',
jqUI: 'deps/jquery-ui/jquery-ui.min',
//jqLayout: 'deps/jquery-layout/source/stable/jquery.layout',
jqLayout: 'lib/jquery-layout',
bootstrap: 'deps/bootstrap/dist/js/bootstrap.min',
marionette: 'deps/backbone.marionette/lib/backbone.marionette.min',
backbone: 'deps/backbone/backbone-min',
paginator: 'deps/backbone.paginator/lib/backbone.paginator.min',
underscore: 'deps/underscore/underscore-min',
i18next: 'deps/i18next/i18next.min',
i18nextXHRBackend: 'deps/i18next-xhr-backend/i18nextXHRBackend.min',
jqueryI18next: 'deps/jquery-i18next/jquery-i18next.min',
jqueryScrollTo: 'lib/jquery-scrollto',
jqueryFitImage: 'lib/jquery-fitimage',
jqueryWaypoints: 'deps/waypoints/lib/jquery.waypoints.min'
},
shim: {
bootstrap: {
deps: ['jquery']
},
underscore: {
exports: '_'
},
backbone: {
deps: ['underscore'],
exports: 'Backbone'
},
paginator: {
deps: ['backbone']
},
marionette: {
deps: ['backbone'],
exports: 'Marionette'
},
jqLayout: {
deps: ['jquery', 'jqUI'],
exports: 'jqLayout'
},
jqUI: {
deps: ['jquery']
},
jqueryScrollTo: {
deps: ['jquery']
},
jqueryFitImage: {
deps: ['jquery']
},
jqueryWaypoints: {
deps: ['jquery']
}
},
packages: [
]
});
requirejs(['app']);