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
|
var require = {
baseUrl: "/",
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",
"jquerytools/toolbox.history",
],
exports: "jarmon"
},
// jQuery plugins
"jquerytools/tabs" : { deps: ["jquery"], exports: "jQuery.tools.tabs" },
"jquerytools/toolbox.history" : { deps: ["jquery"], 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: {
//"jquery" : "3rd-party/yarn/jquery/dist/jquery",
//"flot" : "3rd-party/yarn/flot",
"requirejs" : "3rd-party/yarn/requirejs/require",
"flot" : "jarmon-dependencies/flot-0.8.3",
"javascriptrrd" : "jarmon-dependencies/javascriptrrd-1.1.1",
"jquery" : "jarmon-dependencies/jquery-1.6.3",
"jquerytools" : "jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068",
},
};
|