From 91d04c64771832a0b8815ffbe1f0f9920320d94d Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Feb 2017 19:41:00 -0500 Subject: Initial OpenECOMP policy/engine commit Change-Id: I7dbff37733b661643dd4d1caefa3d7dccc361b6e Signed-off-by: Pamela Dragosh --- .../static/fusion/raptor/dy3/js/dygraph-dev.js | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ecomp-sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js (limited to 'ecomp-sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js') diff --git a/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js b/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/dy3/js/dygraph-dev.js new file mode 100644 index 000000000..c06d23d55 --- /dev/null +++ b/ecomp-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('\n'); + } +})(); -- cgit 1.2.3-korg