fixed frontend script execution

This commit is contained in:
azivner
2018-03-04 14:21:11 -05:00
parent d239ef2956
commit 3b9d1df05c
6 changed files with 27 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
const api = (function() {
function Api() {
const $pluginButtons = $("#plugin-buttons");
async function activateNote(notePath) {
@@ -14,8 +14,10 @@ const api = (function() {
}
return {
__modules: {},
__notes: {},
addButtonToToolbar,
activateNote,
getInstanceName: noteTree.getInstanceName
}
})();
}