Skip to content

Commit

Permalink
refactor(core): remove prolyfill from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wiles committed Nov 6, 2017
1 parent 3a86654 commit 5dc5937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/zone/ng_zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class NgZone {

constructor({enableLongStackTrace = false}) {
if (typeof Zone == 'undefined') {
throw new Error('Angular requires Zone.js prolyfill.');
throw new Error(`Angular requires Zone.js, unless you are using ngZone: 'noop' `);
}

Zone.assertZonePatched();
Expand Down

0 comments on commit 5dc5937

Please sign in to comment.