Skip to content

Fixed: the "pluralize" filter with multi arguments, when selected arg… #3101

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

Merged
merged 1 commit into from
Jun 18, 2016
Merged

Fixed: the "pluralize" filter with multi arguments, when selected arg… #3101

merged 1 commit into from
Jun 18, 2016

Conversation

nervgh
Copy link

@nervgh nervgh commented Jun 18, 2016

In Vue.js 1.0.25 the "pluralize" filter returns "three"

Vue.filter('pluralize')(1, "", "two", "three") // three

instead of the empty string. After this fix, the "pluralize" filter returns the empty string:

Vue.filter('pluralize')(1, "", "two", "three") // ""

@yyx990803 yyx990803 merged commit 453565e into vuejs:dev Jun 18, 2016
@yyx990803
Copy link
Member

Thanks!

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