summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorYukai Huang2016-10-12 14:37:05 +0800
committerYukai Huang2016-10-12 14:37:05 +0800
commitb73fcfc5c94d6265306ec13d2694998744bcea4b (patch)
treee31c63a5cf9ad7a81ffd20a9ebe9dfdfe7106238 /public/js
parent05d5a44d99ac08a4e3f9cd54702f0e6451a2f49c (diff)
Revert 56c5378
viz.js still has problem with split chunk
Diffstat (limited to '')
-rw-r--r--public/js/extra.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index 9ce8525a..bf44e6d0 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -306,8 +306,6 @@ function finishView(view) {
}
});
//graphviz
- require.ensure(["viz.js"], function(require) {
- var Viz = require("viz.js");
var graphvizs = view.find(".graphviz.raw").removeClass("raw");
graphvizs.each(function (key, value) {
try {
@@ -324,7 +322,6 @@ function finishView(view) {
}
});
- })
//mermaid
var mermaids = view.find(".mermaid.raw").removeClass("raw");
mermaids.each(function (key, value) {