refactor(core): make lockRunMode a noop and deprecate it.

BREAKING CHANGE:
- `lockRunMode` is deprecated and no more needed.

Closes #9878
This commit is contained in:
Tobias Bosch
2016-07-07 14:42:46 -07:00
parent 1426f680f5
commit 98d49d4ce3
6 changed files with 29 additions and 43 deletions

View File

@ -12,7 +12,3 @@ require('reflect-metadata');
require('zone.js/dist/zone-node.js');
require('zone.js/dist/long-stack-trace-zone.js');
import {lockRunMode} from '@angular/core';
// Need to lock the mode explicitely as this test is not using Angular's testing framework.
lockRunMode();