summaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 63eca24..a83bccf 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -482,7 +482,7 @@ var incorporateLine = function(ln, line_number) {
container.t === 'FencedCode' ||
(container.t === 'ListItem' &&
!container.firstChild &&
- container.sourceloc[0][0] === line_number));
+ container.sourcepos[0][0] === line_number));
var cont = container;
while (cont.parent) {
@@ -548,7 +548,7 @@ var finalize = function(block, line_number) {
return 0;
}
block.open = false;
- block.sourceloc[1] = [line_number, this.lastLineLength + 1];
+ block.sourcepos[1] = [line_number, this.lastLineLength + 1];
switch (block.t) {
case 'Paragraph':