- Commit
- f738ede352ecb5f1128d2c74c36f7d20f9a1d08b
- Parent
- 0fa08a7f89aa199b9cbd7214cdfd890d209e2214
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Initialize more fields in Node. Better performance.
My personal build of CMark ✏️
Initialize more fields in Node. Better performance.
1 file changed, 2 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/lib/node.js | 2 | 2 | 0 |
diff --git a/js/lib/node.js b/js/lib/node.js @@ -76,6 +76,8 @@ function Node(nodeType, pos) { this.list_data = undefined; this.tight = undefined; this.info = undefined; + this.destination = undefined; + this.title = undefined; } Node.prototype.isContainer = function() {