diff options
Diffstat (limited to 'src/bootstrap/bootstrap-prettify.js')
| -rw-r--r-- | src/bootstrap/bootstrap-prettify.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap-prettify.js b/src/bootstrap/bootstrap-prettify.js index a4eb52f2..b458c832 100644 --- a/src/bootstrap/bootstrap-prettify.js +++ b/src/bootstrap/bootstrap-prettify.js @@ -198,7 +198,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', }]; this.html5Mode = angular.noop; }); - $provide.decorator('$defer', ['$rootScope', '$delegate', function($rootScope, $delegate) { + $provide.decorator('$timeout', ['$rootScope', '$delegate', function($rootScope, $delegate) { return angular.extend(function(fn, delay) { if (delay && delay > 50) { return setTimeout(function() { |
