Update mermaid
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user