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

feat: assert that right ZoneAwarePromise is available #420

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

mhevery
Copy link
Contributor

@mhevery mhevery commented Sep 1, 2016

No description provided.

@jelbourn
Copy link
Member

jelbourn commented Sep 1, 2016

LGTM

@mhevery mhevery merged commit 7c16695 into angular:master Sep 1, 2016
throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` " +
"has been overwritten.\n" +
"Most likely cause is that a Promise polyfill has been loaded " +
"after Zone.js (If you must load polyfills do so before Zone.js.)");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"(Polyfilling promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

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.

4 participants