summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorYukai Huang2016-10-13 08:56:02 +0800
committerYukai Huang2016-10-13 08:56:02 +0800
commitb90c26fe908c126a03b286ed952b719a4624731b (patch)
tree90f2add5cd4f0007649fedb70ffc4e379ec3ad28 /public/js
parentdda41c489dff2ca9603ad792755f3590ccfb5bdf (diff)
Config CDN for viz.js
Diffstat (limited to '')
-rw-r--r--public/js/extra.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index af43c2b2..1dd86760 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -306,6 +306,7 @@ function finishView(view) {
}
});
//graphviz
+ var Viz = require("viz.js");
var graphvizs = view.find(".graphviz.raw").removeClass("raw");
graphvizs.each(function (key, value) {
try {