renaming attributes to labels, fixes #79

This commit is contained in:
azivner
2018-03-24 22:02:26 -04:00
parent 4c472ce78b
commit 95bb2cf0bb
40 changed files with 334 additions and 312 deletions

View File

@@ -23,7 +23,7 @@ async function executeBundle(dataKey, bundle, startNote) {
const ctx = new ScriptContext(dataKey, startNote, bundle.allNotes);
if (await bundle.note.hasAttribute('manual_transaction_handling')) {
if (await bundle.note.hasLabel('manual_transaction_handling')) {
return await execute(ctx, script, '');
}
else {
@@ -73,7 +73,7 @@ async function getScriptBundle(note, root = true, scriptEnv = null, includedNote
return;
}
if (!root && await note.hasAttribute('disable_inclusion')) {
if (!root && await note.hasLabel('disable_inclusion')) {
return;
}