summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-16 18:53:12 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-16 18:53:12 -0800
commitc9994effcff67d4fddab23c2364218a09e807768 (patch)
treeb8d1c5a4cc417fca2b15cc0744a9b4a59d352ea0 /js/lib
parent33626b1d0e2e8bda1c29b3f310ba4c7a07de0495 (diff)
Removed unnecessary setting of default tight=true in finalize.
We do that when the listData object is initialized.
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/blocks.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 756b79c..9286e3a 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -174,7 +174,7 @@ var parseListMarker = function(ln, offset, indent) {
var match;
var spaces_after_marker;
var data = { type: null,
- tight: true,
+ tight: true, // lists are tight by default
bulletChar: null,
start: null,
delimiter: null,
@@ -617,8 +617,6 @@ var finalize = function(block, lineNumber) {
break;
case 'List':
- block._listData.tight = true; // tight by default
-
var item = block._firstChild;
while (item) {
// check for non-final list item ending with blank line: