Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-17 | Added offset property to DocParser. | John MacFarlane | |
2015-01-17 | Moved check for closing fence to close-block-check section. | John MacFarlane | |
This is a more logical arrangement. | |||
2015-01-17 | Minor code simplification. | John MacFarlane | |
2015-01-17 | Performance optimization - avoid repeating scan for nonspace. | John MacFarlane | |
2015-01-17 | Slightly adjusted performance optimization in new block starts. | John MacFarlane | |
2015-01-17 | Fixed linter errors. | John MacFarlane | |
2015-01-17 | Minor code cleanup. | John MacFarlane | |
2015-01-16 | Defer closing of fenced code blocks. | John MacFarlane | |
Instead of closing a fenced code block when we see the closing fence, we set fenceLength to -1, which then signals the code that checks for block enders that it is time to close the block. This allows us to process a blank line after the fenced code and set _lastLineBlank appropriately. Addresses #285 for JS implementation. | |||
2015-01-16 | Removed unnecessary setting of default tight=true in finalize. | John MacFarlane | |
We do that when the listData object is initialized. | |||
2015-01-16 | Check for blank line before checking indent in Item. | John MacFarlane | |
2015-01-16 | Rename bullet_char -> bulletChar. | John MacFarlane | |
2015-01-15 | Provide getters and setters for public properties of Node. | John MacFarlane | |
Everything else gets a name starting with an underscore and will be considered private. This will allow us to keep the API stable while changing the underlying data structure. And it will avoid exposing properties that have only an instrumental value in parsing. | |||
2015-01-15 | Rename sourcepos -> _sourcepos, added sourcepos() accessor. | John MacFarlane | |
2015-01-15 | Removed Node.toObject(). | John MacFarlane | |
2015-01-15 | Renamed .t to ._type to mark it as "hidden." | John MacFarlane | |
2015-01-15 | Removed setType(), replaced getType() with type(). | John MacFarlane | |
2015-01-15 | eslint fixes. | John MacFarlane | |
2015-01-15 | normalize-reference.js: disable eslint spacing warnings. | John MacFarlane | |
2015-01-15 | Removed vestigial ReferenceDef node type. | John MacFarlane | |
2015-01-15 | Added getType(), setType() to node.js. | John MacFarlane | |
Use these instead of direct property access. This is the first step in a general move towards an API like the one libcmark has. This will allow us to have a stable API that is independent of details of the AST. | |||
2015-01-15 | Removed artificial distinction btw FencedCode, IndentedCode | John MacFarlane | |
in blocks.js. | |||
2015-01-15 | Added normalize-reference.js. | John MacFarlane | |
This does a proper unicode case fold instead of just using toUpperCase. It is also faster, partly because we can do one pass for space and case normalization. Modified from the NPM package fold-case; proper credit given in source and COPYING. | |||
2015-01-14 | Slightly more efficient test for lazy continuation. | John MacFarlane | |
2015-01-13 | Removed an implicit cast in node.js 'next'. | John MacFarlane | |
2015-01-13 | Initialize fields in objects to null rather than undefined. | John MacFarlane | |
Big speed boost. | |||
2015-01-13 | blocks.js - avoid an implicit boolean cast. | John MacFarlane | |
2015-01-13 | Simplified some of the new-block-start logic. | John MacFarlane | |
2015-01-13 | Assign marker_offset to list data at initialization. | John MacFarlane | |
2015-01-13 | last_matched_container -> lastMatchedContainer. | John MacFarlane | |
2015-01-13 | Ensure that closeUnmatchedBlocks is not called unnecessarily. | John MacFarlane | |
2015-01-13 | Fixed start column for blockquotes. | John MacFarlane | |
2015-01-13 | Added lineNumber proper to DocParser. | John MacFarlane | |
Removed lineNumber param from addChild and some other methods. | |||
2015-01-12 | Made closeUnmatchedBlocks a method of DocParser... | John MacFarlane | |
instead of a closure. Performance increase and code simplification. | |||
2015-01-12 | Wrap decodeURI in a try. | John MacFarlane | |
This ensures that we return original content (unnormalized) rather than raising an exception for things like [foo](<%test>) Not sure if this is the best approach. | |||
2015-01-12 | html.js, xml.js: avoid using concat. | John MacFarlane | |
2015-01-12 | Use new with Document and NodeWalker constructors. | John MacFarlane | |
2015-01-12 | Use decodeURI instead of the deprecated 'unescape'. | John MacFarlane | |
<https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/unescape> | |||
2015-01-12 | Fixed some linter errors. | John MacFarlane | |
2015-01-12 | Moved "use strict" to top of modules. | John MacFarlane | |
2015-01-11 | Moved common xml escaping code from xml.js, html.js to common.js. | John MacFarlane | |
2015-01-11 | Factored out normalizeURI into a single function in common.js. | John MacFarlane | |
This way we can change it without changing four separate places in the code. | |||
2015-01-11 | Factored out unescapeString into new module, js/common.js. | John MacFarlane | |
This is used in both blocks.js and inlines.js. | |||
2015-01-11 | A few changes to JS so its xml matches cmark's. | John MacFarlane | |
Always add '' as title property if title is not defined. | |||
2015-01-11 | More xml.js improvements. | John MacFarlane | |
2015-01-11 | Small improvements to xml.js. | John MacFarlane | |
2015-01-11 | js: 'ListItem' -> 'Item'. | John MacFarlane | |
2015-01-11 | node.js: toAST -> toObject. | John MacFarlane | |
2015-01-11 | Fixed url -> destination in xml.js. | John MacFarlane | |
2015-01-11 | node.js: Added title and destination to list of props to show in toAST. | John MacFarlane | |
2015-01-11 | Handle more attributes with xml.js. | John MacFarlane | |