Update mermaid

pull/1/head
yflory 5 years ago
parent 7b82d9dba4
commit 6cde052a46

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

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -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;
});

@ -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",

Loading…
Cancel
Save