Skip to content
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 behavior for non-zero params & empty string #8

Merged
merged 1 commit into from
Feb 14, 2015

Conversation

chenglou
Copy link
Contributor

A bit trivial but this was in discordance with the README, which stated
that "falsy keys won't be included". Previously 1 was ignored.

Same for empty string. c('a', '') gave "a ". Fixed that.

P.S. I hate JS implicit conversion and falsy values

A bit trivial but this was in discordance with the README, which stated
that "falsy keys won't be included". Previously `1` was ignored.

Same for empty string. `c('a', '')` gave `"a "`. Fixed that.

P.S. I hate JS implicit conversion and falsy values
@JedWatson
Copy link
Owner

Good catch, @chenglou

JedWatson added a commit that referenced this pull request Feb 14, 2015
Fix behavior for non-zero params & empty string
@JedWatson JedWatson merged commit c632947 into JedWatson:master Feb 14, 2015
@chenglou chenglou deleted the fix-falsy branch February 14, 2015 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants