Allow arbitrary data to be associated with nodes

This commit is contained in:
Patrick Steele-Idem 2014-07-29 13:40:08 -06:00
parent 6ac26ef423
commit 4752706da3

View File

@ -39,6 +39,7 @@ function Node(nodeType) {
this.properties = {};
this.beforeCode = [];
this.afterCode = [];
this.data = {}; // Property for associating arbitrary data with a node
}
}