added libraries for relation map

This commit is contained in:
azivner
2018-10-18 11:46:07 +02:00
parent e487dc1df7
commit 2a8de2653e
6 changed files with 16524 additions and 4 deletions

View File

@@ -1,14 +1,17 @@
import server from "./server.js";
import noteDetailService from "./note_detail.js";
import libraryLoader from "./library_loader.js";
const $noteDetailRelationMap = $("#note-detail-relation-map");
async function render() {
async function show() {
$noteDetailRelationMap.show();
await libraryLoader.requireLibrary(libraryLoader.RELATION_MAP);
}
export default {
show: render,
show,
getContent: () => "",
focus: () => null,
onNoteChange: () => null