Skip to content

Commit

Permalink
Disable Angular debug info (should improve performance)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Jun 29, 2017
1 parent 831dfe6 commit f64769c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ registerVisualizations(ngModule);

ngModule.config(($routeProvider, $locationProvider, $compileProvider,
uiSelectConfig, toastrConfig) => {
$compileProvider.debugInfoEnabled(false);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data):/);
$locationProvider.html5Mode(true);
uiSelectConfig.theme = 'bootstrap';
Expand Down

0 comments on commit f64769c

Please sign in to comment.