-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathloader.js
33 lines (33 loc) · 1.35 KB
/
loader.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
define([], function () {
'use strict';
require.config({
baseUrl: './modules',
paths: {
bluebird: 'vendor/bluebird/bluebird',
bootstrap: 'vendor/bootstrap/bootstrap',
bootstrap_css: 'vendor/bootstrap/css/bootstrap',
css: 'vendor/require-css/css',
datatables: 'vendor/datatables/jquery.dataTables',
datatables_css: 'vendor/datatables/jquery.dataTables',
datatables_bootstrap_css: 'vendor/datatables-bootstrap3-plugin/datatables-bootstrap3',
datatables_bootstrap: 'vendor/datatables-bootstrap3-plugin/datatables-bootstrap3',
font_awesome: 'vendor/font-awesome/css/font-awesome',
jquery: 'vendor/jquery/jquery',
'js-yaml': 'vendor/js-yaml/js-yaml',
kb_common: 'vendor/kbase-common-js',
kb_common_ts: 'vendor/kbase-common-ts',
kb_lib: 'vendor/kbase-common-es6',
kb_service: 'vendor/kbase-service-clients-js',
nunjucks: 'vendor/nunjucks/nunjucks',
md5: 'vendor/spark-md5/spark-md5',
text: 'vendor/requirejs-text/text',
yaml: 'vendor/requirejs-yaml/yaml',
uuid: 'vendor/pure-uuid/uuid'
},
shim: {
bootstrap: {
deps: ['jquery', 'css!bootstrap_css']
}
}
});
});