« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'upd8.js')
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index b610fa8..76a4e59 100755
--- a/upd8.js
+++ b/upd8.js
@@ -979,7 +979,7 @@ const replacerSpec = {
     const tagArgumentValue = '=';
     const tagLabel = '|';
 
-    const makeNode = (i, type, props) => ({i, type, ...props});
+    const makeNode = (i, type, data) => ({i, type, data});
     const makeError = (i, message) => makeNode(i, 'error', {message});
     const endOfInput = (i, comment) => makeError(i, `Unexpected end of input (${comment}).`);