-
Notifications
You must be signed in to change notification settings - Fork 13
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
bug fixes and cleanup. #16
Conversation
* added braces to single line conditionals * removed redundant argument to count() when already in closure * tweaked some comments
…and word count work
* removed characters + 1 hack * switched order of limit check and character addition * introduced one bit of weirdness requiring spaces after final word to be trimmed - but this should be solvable and i judge it worth it for the fixes of above edge cases in functionality and behaviour!
Thanks — whoah that's a heck of a PR. :) I'll have a look when I get to work. |
So far, I really like this! Thanks for keeping me in the loop by filing this as a PR rather than just pushing to master. I haven't had an opportunity to do a proper review, but I'll try get it done ASAP so we can get this in. :) Thanks again! |
Could you give an ETA on this / maybe just a general assurance that it's ok for me to develop on top of these changes? |
ping? |
Sorry, this one slipped. I figure you can merge it — it looks good! Let me know when you've done it, I'll push an update to npm. FYI the general direction I want to take this is:
Does that sound reasonable — have I missed anything? :) |
all in, ready to npm. direction makes sense! I have no idea if the streaming input with no lookahead is viable. Does that necessitate a char being released for every one coming in? I don't know when I'll do it, but my next push will be to try to build some sort of special case handling in for the ghost image thing, but as generically as possible. I'll look at making count generic and implementing block counting after that. |
I want to put this up for PR despite having collab status because it makes some stylistic changes, and i don't want to step on your toes. :)
(the changes are a bit less deep than the line count implies, there's a bit of reordering and renaming)
it fixes:
notable changes:
i hope it's alright. lmk.