common JS module system prototype

This commit is contained in:
azivner
2018-03-04 10:32:53 -05:00
parent 83d6c2970f
commit 7a865a9081
5 changed files with 71 additions and 16 deletions

View File

@@ -217,7 +217,7 @@ const noteEditor = (function() {
if (currentNote.detail.type === 'render') {
$noteDetailRender.show();
const subTree = await server.get('script/subtree/' + getCurrentNoteId());
const subTree = await server.get('script/render/' + getCurrentNoteId());
$noteDetailRender.html(subTree);
}