aboutsummaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 8bdbac5..257b991 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -489,7 +489,6 @@ var incorporateLine = function(ln) {
this.tip._strings.length > 0) {
// lazy paragraph continuation
- this._lastLineBlank = false;
this.addLine(ln, offset);
} else { // not a lazy continuation
@@ -538,7 +537,7 @@ var incorporateLine = function(ln) {
break;
} else {
// create paragraph container for line
- container = this.addChild('Paragraph', this.lineNumber, offset);
+ this.addChild('Paragraph', offset);
this.addLine(ln, offset);
}
}
@@ -553,7 +552,7 @@ var incorporateLine = function(ln) {
// parent of the closed block.
var finalize = function(block, lineNumber) {
var pos;
- var above = block._parent || this.top;
+ var above = block._parent;
// don't do anything if the block is already closed
if (!block._open) {
return;