Repository navigation
Standard timers - fix for #4384 - #4389
Conversation
|
Can one of the admins verify this patch? |
|
Please sign CLA at http://www.nativescript.org/cla |
|
CLA signature found, happy contributing! |
|
Hi @WebReflection thanks for the contribution! Would you mind adding a unit test or two about the optional params. You can check the development workflow readme for tip on how to build and run the tests locally. |
|
hi @vakrilov I have squashed tests within this PR, I hope that's fine. The NativeScript build in Travis CI is like this on master anyway I am not expecting to see it green after this PR 😄 Mind having a double look to it? Cheers. |
|
run ci |
| // >> (hide) | ||
| counter += arg === rnd ? 1 : -1; | ||
| // << (hide) | ||
| }, 50); |
|
Hey @WebReflection. |
Specifications define timers capable of accepting optional parameters. https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers This PR goal is to standardize such behavior in NativeScript too.
|
added the Best Regards |
|
run ci |
|
@vakrilov ... you keep saying that ... I'm not sure I understand what you mean by |
|
Yup - |
|
@WebReflection Congratulations! This PR has earned you a Contributor badge, reserved for the best community PRs! DM me your t-shirt size and address on Slack and I'll be happy to send you some swag! |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


Specifications define timers capable of accepting optional parameters.
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers
This PR goal is to standardize such behavior in NativeScript too.
To help the rest of the community review your change, please ensure: