trilium/src/public/javascripts/services/note_detail_relation_map.js

18 lines
435 B
JavaScript
Raw Normal View History

import server from "./server.js";
import noteDetailService from "./note_detail.js";
2018-10-18 17:46:07 +08:00
import libraryLoader from "./library_loader.js";
const $noteDetailRelationMap = $("#note-detail-relation-map");
2018-10-18 17:46:07 +08:00
async function show() {
$noteDetailRelationMap.show();
2018-10-18 17:46:07 +08:00
await libraryLoader.requireLibrary(libraryLoader.RELATION_MAP);
}
export default {
2018-10-18 17:46:07 +08:00
show,
getContent: () => "",
focus: () => null,
onNoteChange: () => null
}