added panzoom to link map

This commit is contained in:
zadam
2019-06-09 11:50:11 +02:00
parent 69e48ff4d7
commit 412b0377e9
2 changed files with 32 additions and 6 deletions

View File

@@ -34,7 +34,16 @@ const RELATION_MAP = {
]
};
const SPRINGY = {js: ["libraries/springy.js"]};
const LINK_MAP = {
js: [
"libraries/jsplumb.js",
"libraries/panzoom.js",
"libraries/springy.js"
],
css: [
"stylesheets/relation_map.css"
]
};
async function requireLibrary(library) {
if (library.css) {
@@ -70,5 +79,5 @@ export default {
ESLINT,
COMMONMARK,
RELATION_MAP,
SPRINGY
LINK_MAP
}