Update mermaid

This commit is contained in:
yflory
2020-03-27 13:54:43 +01:00
parent 7b82d9dba4
commit 6cde052a46
6 changed files with 64 additions and 59136 deletions
+1 -1
View File
@@ -34,4 +34,4 @@ customize/
www/debug/chainpad.dist.js www/debug/chainpad.dist.js
www/pad/mathjax/ www/pad/mathjax/
www/code/mermaid.js www/code/mermaid*.js
+4
View File
@@ -0,0 +1,4 @@
.sectionTitle, .titleText {
font-weight: bold;
}
-59134
View File
File diff suppressed because one or more lines are too long
+56
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -22,7 +22,8 @@ define([
init: function () {} init: function () {}
}; };
require(['/code/mermaid.js', 'css!/code/mermaid.css'], function (_Mermaid) { require(['mermaid', 'css!/code/mermaid-new.css'], function (_Mermaid) {
console.log(arguments);
Mermaid = _Mermaid; Mermaid = _Mermaid;
}); });
+1
View File
@@ -10,6 +10,7 @@ define([
json: '/bower_components/requirejs-plugins/src/json', json: '/bower_components/requirejs-plugins/src/json',
// jquery declares itself as literally "jquery" so it cannot be pulled by path :( // jquery declares itself as literally "jquery" so it cannot be pulled by path :(
"jquery": "/bower_components/jquery/dist/jquery.min", "jquery": "/bower_components/jquery/dist/jquery.min",
"mermaid": "/code/mermaid.min",
// json.sortify same // json.sortify same
"json.sortify": "/bower_components/json.sortify/dist/JSON.sortify", "json.sortify": "/bower_components/json.sortify/dist/JSON.sortify",
//"pdfjs-dist/build/pdf": "/bower_components/pdfjs-dist/build/pdf", //"pdfjs-dist/build/pdf": "/bower_components/pdfjs-dist/build/pdf",