refactor(VmTurnZone): renamed to NgZone

BREAKING CHANGE:

VmTurnZone has been renamed to NgZone.

- The public API has not chnanged,
- The "outer" zone is now named "mount" zone (private to NgZone).
This commit is contained in:
Victor Berchet
2015-05-07 15:38:57 +02:00
parent c75e216871
commit e11c20541a
11 changed files with 83 additions and 83 deletions

View File

@ -1,12 +1,12 @@
import {VmTurnZone} from 'angular2/src/core/zone/vm_turn_zone';
import {NgZone} from 'angular2/src/core/zone/ng_zone';
export class MockVmTurnZone extends VmTurnZone {
export class MockNgZone extends NgZone {
constructor() {
super({enableLongStackTrace: false});
}
run(fn) {
fn();
return fn();
}
runOutsideAngular(fn) {