diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-16 11:43:52 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-16 11:43:52 -0800 |
commit | ac9524d8f2387f68bf4c9f20f44b96c4f1487ed0 (patch) | |
tree | 89c9a7326f9e89a791a3ea803d4538ff1bdb2dc4 /js/lib/blocks.js | |
parent | 2107a56d58990788cfc40c1ba78e6247d1c4b088 (diff) |
Rename bullet_char -> bulletChar.
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r-- | js/lib/blocks.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js index 85dfb9a..14c9339 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -175,7 +175,7 @@ var parseListMarker = function(ln, offset, indent) { var spaces_after_marker; var data = { type: null, tight: true, - bullet_char: null, + bulletChar: null, start: null, delimiter: null, padding: null, @@ -186,7 +186,7 @@ var parseListMarker = function(ln, offset, indent) { if ((match = rest.match(reBulletListMarker))) { spaces_after_marker = match[1].length; data.type = 'Bullet'; - data.bullet_char = match[0][0]; + data.bulletChar = match[0][0]; } else if ((match = rest.match(reOrderedListMarker))) { spaces_after_marker = match[3].length; @@ -213,7 +213,7 @@ var parseListMarker = function(ln, offset, indent) { var listsMatch = function(list_data, item_data) { return (list_data.type === item_data.type && list_data.delimiter === item_data.delimiter && - list_data.bullet_char === item_data.bullet_char); + list_data.bulletChar === item_data.bulletChar); }; // Finalize and close any unmatched blocks. Returns true. |