main.js
1.78 KB
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
requirejs.config({
baseUrl: 'js/views',
paths: {
jquery: '../jquery.min',
css: '../require.css.min',
i18n: '../require.i18n',
json2: '../json2',
cls: '../plugin/rs.class',
rs_load: '../plugin/rs.load',
rs_toolbar: '../plugin/rs.toolbar',
rs_condfield: '../../query/js/plugin/rs.condfield',
rs_condition: '../../query/js/plugin/rs.condition',
rs_condobject: '../../query/js/plugin/rs.condobject',
rs_treeobject: '../../query/js/plugin/rs.treeobject',
rs_condfield_ext: '../../query/js/plugin/rs.condfield.ext',
cookie: '../third/jquery/jquery.cookie',
easyui: '../third/easyui/jquery.easyui.min',
'easyui_zh-CN': '../third/easyui/locale/easyui-lang-zh_CN',
moment:'../third/moment/moment.min',
lodash:'../third/lodash/lodash.min',
qrcode: '../third/easyui/jquery.qrcode',
jspdf: '../third/pdf/jspdf.min',
echarts: '../third/echarts/echarts-all',
ckeditor: '../third/ckeditor/ckeditor',
uploadify: '../third/uploadify/jquery.uploadify.min',
qiniu: '../third/qiniu/qiniu.min',
plupload: '../third/plupload/plupload.full.min'
},
shim: {
easyui: ['jquery'],
'easyui_zh-CN': ['easyui'],
rs_condfield: ['easyui'],
rs_condfield_ext: ['rs_condfield'],
rs_condition: ['rs_condfield_ext'],
rs_condobject: ['rs_condition'],
rs_treeobject: ['easyui'],
uploadify: ['jquery'],
ckeditor: ['css!../third/ckeditor/skins/moono/editor.css']
},
map: {
'*': {
easyui_locale: 'easyui_zh-CN'
}
},
config: {
i18n: {
locale: 'zh-CN'
}
},
waitSeconds: 15
});
requirejs(['index/index']);