forked from born2net/Backbone-boilerplate-and-StackView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.js
111 lines (109 loc) · 4.47 KB
/
init.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/**
Require js initialization module definition file for StudioLite
@class Require init js
**/
require.config({
waitSeconds: 25,
baseUrl: '/boilerplate/public/',
paths: {
'jquery': '_common/_jquery/std/jq1.9.1/jquery-1.9.1',
'backbone': '_common/_js/backbone/backbone',
'text': '_common/_js/requirejs/text',
'backbone.controller': '_common/_js/backbone-controller/backbone.controller',
'RC4': '_common/_js/rc4/RC4',
'Lib': '_libs/Lib',
'bootbox': '_common/_js/bootbox/bootbox',
'nouislider': '_common/_js/nouislider/jquery.nouislider',
'platform': '_common/_js/platform/platform',
'Cookie': '_common/_js/cookie/jquery.cookie',
'ComBroker': '_controllers/ComBroker',
'XDate': '_common/_js/xdate/xdate',
'simplestorage': '_common/_js/simplestorage/simpleStorage',
'underscore': '_common/_js/underscore/underscore',
'bootstrap': '_common/_js/bootstrap/js/bootstrap',
'socketio': '_common/_js/socketio/socketio',
'Elements': 'Elements',
'localizer': '_common/_js/localizer/dist/jquery.localize',
'LayoutRouter': '_controllers/LayoutRouter',
'MailWasp': '_controllers/MailWasp',
'EverNodes': '_controllers/EverNodes',
'StackView': '_views/StackView',
'AppAuth': '_controllers/AppAuth',
'AppContentFaderView': '_views/AppContentFaderView',
'AppSelectorView': '_views/AppSelectorView',
'AppEntryFaderView': '_views/AppEntryFaderView',
'PopModalView': '_views/PopModalView',
'OrientationSelectorView': '_views/_everNodes/OrientationSelectorView',
'LoginView': '_views/LoginView',
'WaitView': '_views/WaitView',
'PropertiesView': '_views/_everNodes/PropertiesView',
'LogoutView': '_views/_everNodes/LogoutView',
'CampaignManagerView': '_views/_everNodes/CampaignManagerView',
'CampaignSliderStackView': '_views/_everNodes/CampaignSliderStackView',
'CampaignNameSelectorView': '_views/_everNodes/CampaignNameSelectorView',
'CampaignSelectorView': '_views/_everNodes/CampaignSelectorView',
'LanguageSelectorView': '_views/LanguageSelectorView',
'NavigationViewEverNodes': '_views/_everNodes/NavigationViewEverNodes',
'ResolutionSelectorView': '_views/_everNodes/ResolutionSelectorView',
'ResourcesView': '_views/_everNodes/ResourcesView',
'ProStudioView': '_views/_everNodes/ProStudioView',
'ScreenLayoutSelectorView': '_views/_everNodes/ScreenLayoutSelectorView',
'SettingsView': '_views/_everNodes/SettingsView',
'StationsViewLoader': '_views/_everNodes/StationsViewLoader',
'HelpView': '_views/_everNodes/HelpView',
'CampaignManagerWaspView': '_views/_mailWasp/CampaignManagerWaspView',
'CampaignSliderStackWaspView': '_views/_mailWasp/CampaignSliderStackWaspView',
'CampaignNameSelectorWaspView': '_views/_mailWasp/CampaignNameSelectorWaspView',
'CampaignSelectorWaspView': '_views/_mailWasp/CampaignSelectorWaspView',
'OrientationSelectorWaspView': '_views/_mailWasp/OrientationSelectorWaspView',
'ResolutionSelectorWaspView': '_views/_mailWasp/ResolutionSelectorWaspView',
'NavigationWaspView': '_views/_mailWasp/NavigationWaspView',
'ResourcesWaspView': '_views/_mailWasp/ResourcesWaspView',
'ScreenLayoutSelectorWaspView': '_views/_mailWasp/ScreenLayoutSelectorWaspView',
'LogoutWaspView': '_views/_mailWasp/LogoutWaspView'
},
shim: {
'backbone': {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
},
'backbone.controller': {
deps: ['underscore', 'jquery']
},
'LayoutRouter': {
deps: ['Elements', 'backbone.controller']
},
'underscore': {
exports: '_'
},
'bootstrap': {
deps: ['jquery']
},
'Cookie': {
deps: ['jquery'],
exports: 'cookie'
},
'socketio': {
exports: 'socketio'
},
'nouislider': {
exports: 'nouislider'
},
'ComBroker': {
deps: ['backbone', 'jquery']
},
'Elements': {
exports: 'Elements'
},
'bootbox': {
deps: ['jquery'],
exports: 'bootbox'
},
'RC4': {
exports: 'RC4'
}
}
});
require(['App'], function (App) {
new App();
});