summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-13 11:11:18 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-13 11:11:18 -0800
commit539b3c05cb0c4025f512c0c17cdf974909f5df02 (patch)
treeafc0615f21958e067822245d1cfc313bb06ecf21 /js
parent959d326e880693ddde5ecabb5f642ee3440b4a92 (diff)
last_matched_container -> lastMatchedContainer.
Diffstat (limited to 'js')
-rw-r--r--js/lib/blocks.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index bb3d000..e7f37a7 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -218,7 +218,7 @@ var listsMatch = function(list_data, item_data) {
// Finalize and close any unmatched blocks. Returns true.
var closeUnmatchedBlocks = function() {
// finalize any blocks not matched
- while (this.oldtip !== this.last_matched_container) {
+ while (this.oldtip !== this.lastMatchedContainer) {
this.finalize(this.oldtip, this.lineNumber - 1);
this.oldtip = this.oldtip.parent;
}
@@ -346,7 +346,7 @@ var incorporateLine = function(ln) {
}
allClosed = (container === this.oldtip);
- this.last_matched_container = container;
+ this.lastMatchedContainer = container;
// Check to see if we've hit 2nd blank line; if so break out of list:
if (blank && container.last_line_blank) {
@@ -479,7 +479,7 @@ var incorporateLine = function(ln) {
indent = first_nonspace - offset;
// First check for a lazy paragraph continuation:
- if (this.tip !== this.last_matched_container &&
+ if (this.tip !== this.lastMatchedContainer &&
!blank &&
this.tip.t === 'Paragraph' &&
this.tip.strings.length > 0) {
@@ -693,7 +693,7 @@ function DocParser(options){
tip: this.doc,
oldtip: this.doc,
lineNumber: 0,
- last_matched_container: this.doc,
+ lastMatchedContainer: this.doc,
refmap: {},
lastLineLength: 0,
inlineParser: new InlineParser(),