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

feat: assert that right ZoneAwarePromise is available#420

Merged
mhevery merged 1 commit intoangular:masterfrom
mhevery:assert-promise
Sep 1, 2016
Merged

feat: assert that right ZoneAwarePromise is available#420
mhevery merged 1 commit intoangular:masterfrom
mhevery:assert-promise

Conversation

@mhevery
Copy link
Copy Markdown
Contributor

@mhevery mhevery commented Sep 1, 2016

No description provided.

@jelbourn
Copy link
Copy Markdown

jelbourn commented Sep 1, 2016

LGTM

@mhevery mhevery merged commit 7c16695 into angular:master Sep 1, 2016
Comment thread lib/zone.ts
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
Copy Markdown
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
Copy Markdown
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