Skip to content

Commit 8d3eca4

Browse files
author
Niels Dequeker
committed
angular-ui-tree#521 Disable debugger info for the example page
(cherry picked from commit 1a78d3c)
1 parent c7a3961 commit 8d3eca4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/js/app.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
angular.module('demoApp', ['ui.tree', 'ngRoute', 'ui.bootstrap'])
55

6-
.config(['$routeProvider', function ($routeProvider) {
6+
.config(['$routeProvider', '$compileProvider', function ($routeProvider, $compileProvider) {
77
$routeProvider
88
.when('/basic-example', {
99
controller: 'BasicExampleCtrl',
@@ -36,5 +36,8 @@
3636
.otherwise({
3737
redirectTo: '/basic-example'
3838
});
39+
40+
// testing issue #521
41+
$compileProvider.debugInfoEnabled(false);
3942
}]);
4043
})();

0 commit comments

Comments
 (0)