#125, implementation of inheritable relations

This commit is contained in:
azivner
2018-07-29 18:39:10 +02:00
parent 170d317589
commit ed1381103a
8 changed files with 58 additions and 14 deletions

View File

@@ -139,8 +139,14 @@ function sanitizeVariableName(str) {
return str.replace(/[^a-z0-9_]/gim, "");
}
async function getScriptBundleForNoteId(noteId) {
const note = await repository.getNote(noteId);
return await getScriptBundle(note);
}
module.exports = {
executeNote,
executeScript,
getScriptBundle
getScriptBundle,
getScriptBundleForNoteId
};