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

View File

@ -34,4 +34,4 @@ customize/
www/debug/chainpad.dist.js
www/pad/mathjax/
www/code/mermaid.js
www/code/mermaid*.js

4
www/code/mermaid-new.css Normal file
View File

@ -0,0 +1,4 @@
.sectionTitle, .titleText {
font-weight: bold;
}

File diff suppressed because one or more lines are too long

56
www/code/mermaid.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,8 @@ define([
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;
});

View File

@ -10,6 +10,7 @@ define([
json: '/bower_components/requirejs-plugins/src/json',
// jquery declares itself as literally "jquery" so it cannot be pulled by path :(
"jquery": "/bower_components/jquery/dist/jquery.min",
"mermaid": "/code/mermaid.min",
// json.sortify same
"json.sortify": "/bower_components/json.sortify/dist/JSON.sortify",
//"pdfjs-dist/build/pdf": "/bower_components/pdfjs-dist/build/pdf",