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

Check last param on false value instead of isUndefined #88

Merged
merged 1 commit into from
Jun 26, 2014
Merged

Check last param on false value instead of isUndefined #88

merged 1 commit into from
Jun 26, 2014

Conversation

artzhookov
Copy link
Contributor

Last value of the array var params = route.exec(fragment).slice(1) has value '' (empty string) in ie8, and it has value undefined in other browsers. Therefore it is necessary to check for false value instead of isUndefined.

Last value of the array `params` has value '' (empty string) in ie8, and it has value `undefined` in other browsers. Therefore it is necessary to check for false value instead of isUndefined.
@artzhookov artzhookov closed this May 19, 2014
@artzhookov artzhookov reopened this May 19, 2014
jhudson8 added a commit that referenced this pull request Jun 26, 2014
Check last param on false value instead of isUndefined
@jhudson8 jhudson8 merged commit 4ffa21e into jhudson8:master Jun 26, 2014
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.

None yet

2 participants