mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
added libraries for relation map
This commit is contained in:
@@ -22,6 +22,16 @@ const ESLINT = {js: ["libraries/eslint.js"]};
|
||||
|
||||
const COMMONMARK = {js: ["libraries/commonmark.min.js"]};
|
||||
|
||||
const RELATION_MAP = {
|
||||
js: [
|
||||
"libraries/jsplumb.js",
|
||||
"libraries/panzoom.js"
|
||||
],
|
||||
css: [
|
||||
"stylesheets/relation-map.css"
|
||||
]
|
||||
};
|
||||
|
||||
async function requireLibrary(library) {
|
||||
if (library.css) {
|
||||
library.css.map(cssUrl => requireCss(cssUrl));
|
||||
@@ -64,5 +74,6 @@ export default {
|
||||
CKEDITOR,
|
||||
CODE_MIRROR,
|
||||
ESLINT,
|
||||
COMMONMARK
|
||||
COMMONMARK,
|
||||
RELATION_MAP
|
||||
}
|
||||
Reference in New Issue
Block a user