summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-07 11:47:55 -0500
committertalasila <talasila@research.att.com>2017-02-07 12:51:32 -0500
commit1faf201e8608dfa4d7af3460fd3d1fc7ebec398b (patch)
tree2208f76271cc6b1a81dbfb9143cd7118b071a909 /ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js
parentca23569858b8cc9f60010e193b7041feb2d3227b (diff)
Initial OpenECOMP Portal SDK commit
Change-Id: I66a3491600a4b9ea241128dc29267eed6a78ed76 Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js')
-rw-r--r--ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js45
1 files changed, 45 insertions, 0 deletions
diff --git a/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js b/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js
new file mode 100644
index 00000000..c06d23d5
--- /dev/null
+++ b/ecomp-sdk/sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js
@@ -0,0 +1,45 @@
+/**
+ * @license
+ * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
+ * MIT-licensed (http://opensource.org/licenses/MIT)
+ */
+
+// A dygraph "auto-loader".
+
+// Check where this script was sourced from. If it was sourced from
+// '../dygraph-dev.js', then we should source all the other scripts with the
+// same relative path ('../dygraph.js', '../dygraph-canvas.js', ...)
+(function() {
+ var src=document.getElementsByTagName('script');
+ var script = src[src.length-1].getAttribute("src");
+
+ // This list needs to be kept in sync w/ the one in generate-combined.sh
+ // and the one in jsTestDriver.conf.
+ var source_files = [
+ "strftime/strftime-min.js",
+ "rgbcolor/rgbcolor.js",
+ "stacktrace.js",
+ "dashed-canvas.js",
+ "dygraph-options.js",
+ "dygraph-layout.js",
+ "dygraph-canvas.js",
+ "dygraph.js",
+ "dygraph-utils.js",
+ "dygraph-gviz.js",
+ "dygraph-interaction-model.js",
+ "dygraph-tickers.js",
+ "dygraph-plugin-base.js",
+ "plugins/annotations.js",
+ "plugins/axes.js",
+ "plugins/chart-labels.js",
+ "plugins/grid.js",
+ "plugins/legend.js",
+ "plugins/range-selector.js",
+ "dygraph-plugin-install.js",
+ "dygraph-options-reference.js" // Shouldn't be included in generate-combined.sh
+ ];
+
+ for (var i = 0; i < source_files.length; i++) {
+ document.write('<script type="text/javascript" src="' + script.replace('dygraph-dev.js', source_files[i]) + '"></script>\n');
+ }
+})();