summaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
AgeCommit message (Expand)Author
2015-01-17Moved check for closing fence to close-block-check section.John MacFarlane
2015-01-17Minor code simplification.John MacFarlane
2015-01-17Performance optimization - avoid repeating scan for nonspace.John MacFarlane
2015-01-17Slightly adjusted performance optimization in new block starts.John MacFarlane
2015-01-17Minor code cleanup.John MacFarlane
2015-01-16Defer closing of fenced code blocks.John MacFarlane
2015-01-16Removed unnecessary setting of default tight=true in finalize.John MacFarlane
2015-01-16Check for blank line before checking indent in Item.John MacFarlane
2015-01-16Rename bullet_char -> bulletChar.John MacFarlane
2015-01-15Provide getters and setters for public properties of Node.John MacFarlane
2015-01-15Rename sourcepos -> _sourcepos, added sourcepos() accessor.John MacFarlane
2015-01-15Removed setType(), replaced getType() with type().John MacFarlane
2015-01-15Removed vestigial ReferenceDef node type.John MacFarlane
2015-01-15Added getType(), setType() to node.js.John MacFarlane
2015-01-15Removed artificial distinction btw FencedCode, IndentedCodeJohn MacFarlane
2015-01-14Slightly more efficient test for lazy continuation.John MacFarlane
2015-01-13Initialize fields in objects to null rather than undefined.John MacFarlane
2015-01-13blocks.js - avoid an implicit boolean cast.John MacFarlane
2015-01-13Simplified some of the new-block-start logic.John MacFarlane
2015-01-13Assign marker_offset to list data at initialization.John MacFarlane
2015-01-13last_matched_container -> lastMatchedContainer.John MacFarlane
2015-01-13Ensure that closeUnmatchedBlocks is not called unnecessarily.John MacFarlane
2015-01-13Fixed start column for blockquotes.John MacFarlane
2015-01-13Added lineNumber proper to DocParser.John MacFarlane
2015-01-12Made closeUnmatchedBlocks a method of DocParser...John MacFarlane
2015-01-12Use new with Document and NodeWalker constructors.John MacFarlane
2015-01-12Moved "use strict" to top of modules.John MacFarlane
2015-01-11Factored out unescapeString into new module, js/common.js.John MacFarlane
2015-01-11js: 'ListItem' -> 'Item'.John MacFarlane
2015-01-10More efficient detab.John MacFarlane
2015-01-10Timings: added 'preparing input'.John MacFarlane
2015-01-10Added options to DocParser.John MacFarlane
2015-01-10Removed an unnecessary variable from cloneUnmatchedBlocks.John MacFarlane
2015-01-10Small performance optimization in dealing with final newline.John MacFarlane
2015-01-10Reordered some definitions, so regex is defined before being used.John MacFarlane
2015-01-10Regex optimizations in blocks.js.John MacFarlane
2015-01-09Removed redundant condition.John MacFarlane
2015-01-09JS linter improvements.John MacFarlane
2015-01-09Improved newline parsing efficiency.John MacFarlane
2015-01-09JS: Renamed 'c' property to 'literal' to match libcmark.John MacFarlane
2015-01-09JS: sourceloc -> sourcepos for confirmity with cmark.John MacFarlane
2015-01-09Replaced 'pos' with 'sourceloc', making it an array.John MacFarlane
2015-01-09Added end column position to pos for blocks.John MacFarlane
2015-01-09JS: Improved end lines.John MacFarlane
2015-01-09JS: use c rather than string_content property for code blocks, html.John MacFarlane
2015-01-09Don't initialize strings, string_content to defined value.John MacFarlane
2015-01-09Made `tight` a property of `list_data`.John MacFarlane
2015-01-09Removed makeBlock. Use new Node directly. Initialize more fields.John MacFarlane
2015-01-09JS: replace NUL characters with U+FFFD, as per spec.John MacFarlane
2015-01-09More JS linter fixes.John MacFarlane