Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(timer): setTimeout/setInterval support for boolean period #7569

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 7 commits into from
Aug 2, 2019

Conversation

bundyo
Copy link
Contributor

@bundyo bundyo commented Jul 23, 2019

PR Checklist

What is the current behavior?

setTimeout/setInterval can't be called with Boolean period.

What is the new behavior?

setTimeout/setInterval can be called with a Boolean period - cast to either 0 or 1.

Fixes/Implements/Closes #7567.

@bundyo bundyo added the bug label Jul 23, 2019
@bundyo bundyo self-assigned this Jul 23, 2019
@cla-bot cla-bot bot added the cla: yes label Jul 23, 2019
@vakrilov
Copy link
Contributor

test

@manoldonev manoldonev changed the title fix(timer) Fix setTimeout/setInterval can't be called with boolean period fix(timer): setTimeout/setInterval support for boolean period Aug 1, 2019
@vakrilov vakrilov merged commit a569bb2 into master Aug 2, 2019
@vakrilov vakrilov deleted the bundev/fix-boolean-settimeout branch August 2, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different casting rules in setTimeout/setInterval in nativescript
4 participants