parent
a15ca23469
commit
74be3d3fde
|
@ -456,11 +456,10 @@ export class ApplicationRef_ extends ApplicationRef {
|
||||||
});
|
});
|
||||||
return completer.promise.then(_ => {
|
return completer.promise.then(_ => {
|
||||||
let c = this._injector.get(Console);
|
let c = this._injector.get(Console);
|
||||||
let modeDescription =
|
if (assertionsEnabled()) {
|
||||||
assertionsEnabled() ?
|
c.log(
|
||||||
"in the development mode. Call enableProdMode() to enable the production mode." :
|
"Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.");
|
||||||
"in the production mode. Call enableDevMode() to enable the development mode.";
|
}
|
||||||
c.log(`Angular 2 is running ${modeDescription}`);
|
|
||||||
return _;
|
return _;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue