« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index b610fa8b..76a4e591 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}).`);