Skip to content

Commit c9351f1

Browse files
committed
revert disableDebugTools
angular/angular#12918
1 parent baccce1 commit c9351f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/environment.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Angular 2
22
// rc2 workaround
3-
import {enableDebugTools} from "@angular/platform-browser";
3+
import {enableDebugTools, disableDebugTools} from "@angular/platform-browser";
44
import {enableProdMode, ApplicationRef} from "@angular/core";
55
// Environment Providers
66
let PROVIDERS: any[] = [
@@ -16,6 +16,7 @@ let _decorateModuleRef = function identity<T>(value: T): T {
1616
if ('production' === ENV) {
1717
// Production
1818
enableProdMode();
19+
disableDebugTools();
1920

2021
PROVIDERS = [
2122
...PROVIDERS,

0 commit comments

Comments
 (0)