-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcommon.js
37 lines (36 loc) · 1.16 KB
/
common.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
require.config({
paths: {
//lib
cytoscape: 'node_modules/cytoscape/dist/cytoscape',
director: 'node_modules/director/build/director',
highlightjs: '//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.2.0/highlight.min',
'highlightjs-css': '//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.2.0/styles/default.min',
jquery: 'node_modules/jquery/dist/jquery',
jsface: 'node_modules/jsface/dist/jsface',
knockout: 'node_modules/knockout/build/output/knockout-latest',
'knockout-amd-helpers': 'node_modules/knockout-amd-helpers/build/knockout-amd-helpers',
'knockout-es5-option4': 'node_modules/knockout-es5-option4/knockout-es5-option4',
marked: 'node_modules/marked/lib/marked',
materialize: 'node_modules/materialize-css/dist/js/materialize.min',
i18n: 'lib/require-i18n',
text: 'node_modules/requirejs-text/text',
sugar: 'node_modules/sugar/sugar-full',
//lib-ext
ko: 'lib-ext/knockout-extended'
},
packages: [
{
name: 'css',
location: 'node_modules/require-css',
main: 'css.js'
}
],
shim: {
director: {
exports: 'Router'
},
jsface: {
exports: 'Class'
}
}
});