-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequire-config-for-tests.js
36 lines (36 loc) · 1.06 KB
/
require-config-for-tests.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
require.config({
baseUrl: 'src/js',
paths: {
'libs': '../../libs',
'libs/signals': '../../libs/js-signals/dist/signals',
'jslix': '../../libs/jslix/src',
'cryptojs': '../../libs/crypto-js-read-only/build/components',
'contextmenu': '../../libs/jQuery-contextmenu/src'
},
shim: {
'libs/jquery': {
exports: '$'
},
'libs/log4javascript': {
exports: 'log4javascript'
},
'contextmenu/jquery.contextMenu': ['libs/jquery'],
'contextmenu/jquery.ui.position': ['contextmenu/jquery.contextMenu'],
'libs/jquery.transit': ['libs/jquery'],
'cryptojs/core': {
exports: 'CryptoJS'
},
'cryptojs/md5': {
deps: ['cryptojs/core'],
exports: 'CryptoJS.MD5'
},
'cryptojs/sha1': {
deps: ['cryptojs/core'],
exports: 'CryptoJS.SHA1'
},
'cryptojs/enc-base64': {
deps: ['cryptojs/core'],
exports: 'CryptoJS.enc.Base64'
}
}
});