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

fix(core): use then directly when promise is not patchable #1079

Merged
merged 1 commit into from
Jun 18, 2018

Conversation

JiaLiPassion
Copy link
Collaborator

fix #1078
In some old browser or other environment, Promise.prototype.then may not configurable, so we should use promise.then instead of promise['__zone_symbol__then'].

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.

Uncaught TypeError: Property '__zone_symbol__then' of object [object Promise] is not a function
3 participants