2018-10-18 17:25:33 +08:00
|
|
|
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";
|
2018-10-18 17:25:33 +08:00
|
|
|
|
|
|
|
const $noteDetailRelationMap = $("#note-detail-relation-map");
|
|
|
|
|
2018-10-18 17:46:07 +08:00
|
|
|
async function show() {
|
2018-10-18 17:25:33 +08:00
|
|
|
$noteDetailRelationMap.show();
|
2018-10-18 17:46:07 +08:00
|
|
|
|
|
|
|
await libraryLoader.requireLibrary(libraryLoader.RELATION_MAP);
|
2018-10-18 17:25:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
2018-10-18 17:46:07 +08:00
|
|
|
show,
|
2018-10-18 17:25:33 +08:00
|
|
|
getContent: () => "",
|
|
|
|
focus: () => null,
|
|
|
|
onNoteChange: () => null
|
|
|
|
}
|