parent
05d5a44d99
commit
b73fcfc5c9
2 changed files with 1 additions and 3 deletions
|
@ -306,8 +306,6 @@ function finishView(view) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//graphviz
|
//graphviz
|
||||||
require.ensure(["viz.js"], function(require) {
|
|
||||||
var Viz = require("viz.js");
|
|
||||||
var graphvizs = view.find(".graphviz.raw").removeClass("raw");
|
var graphvizs = view.find(".graphviz.raw").removeClass("raw");
|
||||||
graphvizs.each(function (key, value) {
|
graphvizs.each(function (key, value) {
|
||||||
try {
|
try {
|
||||||
|
@ -324,7 +322,6 @@ function finishView(view) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
})
|
|
||||||
//mermaid
|
//mermaid
|
||||||
var mermaids = view.find(".mermaid.raw").removeClass("raw");
|
var mermaids = view.find(".mermaid.raw").removeClass("raw");
|
||||||
mermaids.each(function (key, value) {
|
mermaids.each(function (key, value) {
|
||||||
|
|
|
@ -39,6 +39,7 @@ module.exports = {
|
||||||
"expose?filterXSS!xss",
|
"expose?filterXSS!xss",
|
||||||
"js-url",
|
"js-url",
|
||||||
"bootstrap",
|
"bootstrap",
|
||||||
|
"expose?Viz!viz.js",
|
||||||
"expose?ListPagination!list.pagination.js/dist/list.pagination.js",
|
"expose?ListPagination!list.pagination.js/dist/list.pagination.js",
|
||||||
path.join(__dirname, 'public/vendor/codemirror/codemirror.min.js'),
|
path.join(__dirname, 'public/vendor/codemirror/codemirror.min.js'),
|
||||||
path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
|
path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
|
||||||
|
|
Loading…
Reference in a new issue