-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.js
48 lines (48 loc) · 2.06 KB
/
base.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
require.config({
baseUrl: "/static/backend/",
paths: {
jquery: "utils/js/jquery-1.11.1.min",
jPage: "utils/js/jPages",
handlebars: "utils/js/handlebars-v2.min",
validate: "utils/js/jquery.validate",
datePicker: "utils/js/foundation-datepicker.min",
niceScroll: "utils/js/jquery.nicescroll.min",
cxSelect: "utils/js/jquery.cxselect.min",
utils: "utils/js/utils",
ZeroClipboard: "utils/js/ZeroClipboard.min",
api: "utils/js/api",
uploadify: "utils/js/jquery.uploadify.min",
qrcode: "utils/js/jquery-qrcode-0.14.0.min",
xdomainrequest: "utils/js/jquery.xdomainrequest.min",
ueditor: "utils/js/ueditor/ueditor.all.min",
zeroclipboard: "utils/js/ueditor/third-party/zeroclipboard/ZeroClipboard.min",
ueditorConfig: "utils/js/ueditor/ueditor.config",
uploader:"utils/js/jquery.fileupload",
widget:"utils/js/jquery.ui.widget"
},
shim: {
jquery: {exports: "$"},
xdomainrequest: {deps: ["jquery"]},
validate: {deps: ["jquery"], exports: "validate"},
datePicker: {deps: ["jquery"], exports: "fdatePicker"},
niceScroll: {deps: ["jquery"], exports: "niceScroll"},
uploadify: {deps: ["jquery"], exports: "uploadify"},
jPage: {deps: ["jquery"], exports: "jPage"},
handlebars: {exports: "Handlebars"},
myTicket_data: {exports: "myTicket_data"},
myManage_data: {exports: "myManage_data"},
workerManage_data: {exports: "workerManage_data"},
applySettle_data: {exports: "applySettle_data"},
myFocus_data: {exports: "myFocus_data"},
cxSelect: {deps: ["jquery"], exports: "cxSelect"},
utils: {exports: "UTILS"},
api: {exports: "API"},
uploader:{deps: ["jquery","widget"],exports: "fileupload"},
qrcode: {deps: ["jquery"], exports: "qrcode"},
ueditor: {
deps: ["zeroclipboard", "ueditorConfig"], exports: "UE", init: function (a) {
window.ZeroClipboard = a
}
}
}
});