Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

fix(timer): fix #437, #744, fix nativescript timer and nodejs 0.10.x timer issue#772

Merged
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:timer
May 3, 2017
Merged

fix(timer): fix #437, #744, fix nativescript timer and nodejs 0.10.x timer issue#772
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:timer

Conversation

@JiaLiPassion
Copy link
Copy Markdown
Collaborator

  1. fix zone.js issue with NativeScript #437, native script load timer module failed issue, if failed to load timer, just patch global.setTimeout
  2. fix fix double patched timers in older node versions #744, in nodejs 0.10.x, global.setTimeout use timers.setTimeout but not equal, we should avoid to double patch the timer. We should check if global.setTimeout use timers.setTimeout but not equal, we only set zone_symbol for consistency and then don't patch it at all in nodejs 0.10.x or other similar situation.

@mhevery mhevery merged commit 3218b5a into angular:master May 3, 2017
@JiaLiPassion JiaLiPassion deleted the timer branch May 6, 2017 04:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zone.js issue with NativeScript

3 participants