Browse Source

Disable Angular debugging, should improve perfs

Gaël Métais 9 năm trước cách đây
mục cha
commit
a9adb3bb06
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      front/src/js/app.js

+ 4 - 0
front/src/js/app.js

@@ -82,3 +82,7 @@ yltApp.config(['$routeProvider', '$locationProvider',
     }
 ]);
 
+// Disable debugging https://docs.angularjs.org/guide/production
+yltApp.config(['$compileProvider', function ($compileProvider) {
+    $compileProvider.debugInfoEnabled(false);
+}]);