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
|
var require = {
baseUrl: "/bogus",
shim: {
"jarmon": {
deps: [
"javascriptrrd/rrdFile", // ~1.1
"javascriptrrd/binaryXHR", // ~1.1
"jquery", // ^1.6.3
"flot/jquery.flot.stack", // >= 0.7
"flot/jquery.flot.time", // split in to a plugin in >=0.8.0
"flot/jquery.flot.selection", // split in to a plugin in >= 0.6
"jquerytools/tabs/tabs",
"jquerytools/toolbox/toolbox.history",
],
exports: "jarmon"
},
// jQuery plugins
"jquery-migrate" : { deps: ["jquery"], exports: "jQuery.migrateVersion" },
"jquerytools/tabs/tabs" : { deps: ["jquery", "jquery-migrate"], exports: "jQuery.tools.tabs" },
"jquerytools/toolbox/toolbox.history" : { deps: ["jquery", "jquery-migrate"], exports: "jQuery.tools.history" },
"flot/jquery.flot" : { deps: ["jquery"], exports: "jQuery.plot" },
// Flot plugins
"flot/jquery.flot.time" : { deps: ["flot/jquery.flot"] },
"flot/jquery.flot.selection" : { deps: ["flot/jquery.flot"] },
"flot/jquery.flot.stack" : { deps: ["flot/jquery.flot"] },
// Jarmon configs
"cfg/jarmon-winston": { deps: ["jquery", "jarmon"] },
"cfg/jarmon-proton": { deps: ["jquery", "jarmon"] },
},
paths: {
"flot" : "/3rd-party/yarn/flot",
"golden-layout" : "/3rd-party/yarn/golden-layout/dist/goldenlayout",
"jarmon" : "/3rd-party/yarn/jarmon/jarmon/jarmon",
"javascriptrrd" : "/3rd-party/yarn/javascriptrrd/src/lib",
"jquery" : "/3rd-party/yarn/jquery/dist/jquery",
"jquery-migrate": "/3rd-party/yarn/jquery-migrate/dist/jquery-migrate",
"jquerytools" : "/3rd-party/yarn/jquerytools/src",
"requirejs" : "/3rd-party/yarn/requirejs/require",
},
};
|