diff options
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap-prettify.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/docs/components/angular-bootstrap/bootstrap-prettify.js b/docs/components/angular-bootstrap/bootstrap-prettify.js index 72c136d1..5129c4e1 100644 --- a/docs/components/angular-bootstrap/bootstrap-prettify.js +++ b/docs/components/angular-bootstrap/bootstrap-prettify.js @@ -215,17 +215,7 @@ directive.ngEmbedApp = ['$templateCache', '$browser', '$rootScope', '$location', }]; this.html5Mode = angular.noop; }); - $provide.decorator('$timeout', ['$rootScope', '$delegate', function($rootScope, $delegate) { - return angular.extend(function(fn, delay) { - if (delay && delay > 50) { - return setTimeout(function() { - $rootScope.$apply(fn); - }, delay); - } else { - return $delegate.apply(this, arguments); - } - }, $delegate); - }]); + $provide.decorator('$rootScope', ['$delegate', function($delegate) { embedRootScope = $delegate; |
