From 4752706da35898a3fe4e7ab2f2dfc8b82122bc2c Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Tue, 29 Jul 2014 13:40:08 -0600 Subject: [PATCH] Allow arbitrary data to be associated with nodes --- compiler/Node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/Node.js b/compiler/Node.js index 244f0bf59..b3ed80b89 100644 --- a/compiler/Node.js +++ b/compiler/Node.js @@ -39,6 +39,7 @@ function Node(nodeType) { this.properties = {}; this.beforeCode = []; this.afterCode = []; + this.data = {}; // Property for associating arbitrary data with a node } }