Update mermaid
This commit is contained in:
parent
7b82d9dba4
commit
6cde052a46
@ -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
www/code/mermaid-new.css
Normal file
4
www/code/mermaid-new.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.sectionTitle, .titleText {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
59134
www/code/mermaid.js
59134
www/code/mermaid.js
File diff suppressed because one or more lines are too long
56
www/code/mermaid.min.js
vendored
Normal file
56
www/code/mermaid.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user