diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 19:15:07 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 19:15:07 -0800 |
commit | 8c7ca2e30044925bcf611ddc816580d6746c7101 (patch) | |
tree | 299514669c39db05525370021b335875911f5d28 /js/lib/node.js | |
parent | a1bc760fef3ae9e98f039fa50f31fc2d5eb877a2 (diff) |
JS: Renamed 'c' property to 'literal' to match libcmark.
Diffstat (limited to 'js/lib/node.js')
-rw-r--r-- | js/lib/node.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/lib/node.js b/js/lib/node.js index 102003c..e57a281 100644 --- a/js/lib/node.js +++ b/js/lib/node.js @@ -72,7 +72,7 @@ function Node(nodeType, sourcepos) { this.open = true; this.strings = undefined; this.string_content = undefined; - this.c = undefined; + this.literal = undefined; this.list_data = undefined; this.info = undefined; this.destination = undefined; @@ -167,7 +167,8 @@ Node.prototype.toAST = function() { var cur; var result = { t: this.t }; - var propsToShow = ['t', 'c', 'list_data', 'sourcepos', 'info', 'level']; + var propsToShow = ['t', 'literal', 'list_data', 'sourcepos', + 'info', 'level']; for (var i = 0; i < propsToShow.length; i++) { var prop = propsToShow[i]; |