refactor(core): Removed depricated lockRunMode (#10763)

BREAKING CHANGE: previously deprecated lockRunMode was removed; see deprecation notice for migration instructions.
This commit is contained in:
Chuck Jazdzewski
2016-08-12 17:40:22 -07:00
committed by vikerman
parent 87fe47737a
commit 2eb4ee8393
3 changed files with 1 additions and 15 deletions

View File

@ -46,17 +46,6 @@ export function enableProdMode(): void {
_devMode = false;
}
/**
* Locks the run mode of Angular. After this has been called,
* it can't be changed any more. I.e. `isDevMode()` will always
* return the same value.
*
* @deprecated This is a noop now. {@link isDevMode} automatically locks the run mode on first call.
*/
export function lockRunMode(): void {
console.warn('lockRunMode() is deprecated and not needed any more.');
}
/**
* Returns whether Angular is in development mode. After called once,
* the value is locked and won't change any more.