FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(timer): setTimeout/setInterval support for boolean period by bundyo · Pull Request #7569 · NativeScript/NativeScript · GitHub

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

Merged
vakrilov merged 7 commits into
masterfrom
bundev/fix-boolean-settimeout
Aug 2, 2019
Merged

vakrilov merged 7 commits into
masterfrom
bundev/fix-boolean-settimeout

Conversation

bundyo commented Jul 23, 2019

Copy link
Copy Markdown
Contributor

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 added the bug label Jul 23, 2019
bundyo self-assigned this Jul 23, 2019
cla-bot Bot added the cla: yes label Jul 23, 2019
Comment thread tns-core-modules/timer/timer.d.ts Outdated

Copy link
Copy Markdown
Contributor

test

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 merged commit a569bb2 into master Aug 2, 2019
vakrilov deleted the bundev/fix-boolean-settimeout branch August 2, 2019 13:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL