Skip to content

Commit 133d896

Browse files
mvuksanotravis@travis-ci.org
authored andcommitted
docs(VmTurnZone): change documentation for VmTurnZone to use term VmTurnZone instead of old NgZone.
Closes dart-archive#890
1 parent 4bf0c32 commit 133d896

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/core/zone.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
part of angular.core_internal;
22

33
/**
4-
* Handles an [NgZone] onTurnDone event.
4+
* Handles an [VmTurnZone] onTurnDone event.
55
*/
66
typedef void ZoneOnTurnDone();
77

88
/**
9-
* Handles an [NgZone] onTurnDone event.
9+
* Handles an [VmTurnZone] onTurnDone event.
1010
*/
1111
typedef void ZoneOnTurnStart();
1212

1313
/**
14-
* Handles an [NgZone] onError event.
14+
* Handles an [VmTurnZone] onError event.
1515
*/
1616
typedef void ZoneOnError(dynamic error, dynamic stacktrace,
1717
LongStackTrace longStacktrace);
@@ -47,7 +47,7 @@ class LongStackTrace {
4747
* all the microtasks scheduled on the inner [Zone].
4848
*
4949
* In a typical app, [ngDynamicApp] or [ngStaticApp] will create a singleton
50-
* [NgZone] whose outer [Zone] is the root [Zone] and whose default [onTurnDone]
50+
* [VmTurnZone] whose outer [Zone] is the root [Zone] and whose default [onTurnDone]
5151
* runs the Angular digest. A component may want to inject this singleton if it
5252
* needs to run code _outside_ the Angular digest.
5353
*/

0 commit comments

Comments
 (0)