New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix(utils): correctly calculate leftPad #757
Conversation
marcoscaceres
commented
May 13, 2016
- Fixes some edge cases that I missed previously for markdown.
d898405
to
294ada8
Compare
@halindrome or @dontcallmedom r? |
return NodeFilter.FILTER_REJECT; | ||
} | ||
|
||
function toESIterable(nodeIterator) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've decided to move this to utils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh, I mean into it's own method within utils.js
fa363d2
to
3b2899d
Compare
Added test for |
* methods that can interface with Iterators (Array.from(), etc.). | ||
* | ||
* @param {Function} nextLikeFunction A function that a next value; | ||
* @return {Object} An object that implements the Iterator prop. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
68de4dd
to
03962ed
Compare
Performed self-review, to avoid bit rot. |
Feat(utils): add toESIterable() method
03962ed
to
5d237e4
Compare