all JS functions are now inside old-school JS modules, preparation for ES6 modularization

This commit is contained in:
azivner
2018-03-24 23:58:58 -04:00
parent 001a5107dd
commit b96a1274c5
4 changed files with 261 additions and 245 deletions

View File

@@ -151,16 +151,16 @@ const contextMenu = (function() {
treeChanges.deleteNodes(treeService.getSelectedNodes(true));
}
else if (ui.cmd === "exportSubTree") {
exportSubTree(node.data.noteId);
exportService.exportSubTree(node.data.noteId);
}
else if (ui.cmd === "importSubTree") {
importSubTree(node.data.noteId);
exportService.importSubTree(node.data.noteId);
}
else if (ui.cmd === "collapseSubTree") {
treeService.collapseTree(node);
}
else if (ui.cmd === "forceNoteSync") {
forceNoteSync(node.data.noteId);
syncService.forceNoteSync(node.data.noteId);
}
else if (ui.cmd === "sortAlphabetically") {
treeService.sortAlphabetically(node.data.noteId);