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

@@ -101,10 +101,6 @@ async function getRenderScript(note) {
return "async function() {" + subTreeScripts + note.content + "\r\n}";
}
async function getNoteScript(note) {
}
async function getScriptBundle(note, includedNoteIds = []) {
if (!note.isJavaScript()) {
return;
@@ -150,6 +146,6 @@ module.exports = {
executeNote,
executeScript,
setJob,
getNoteScript,
getScriptBundle,
getRenderScript
};