aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/animator.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/animator.js')
-rw-r--r--src/ng/animator.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ng/animator.js b/src/ng/animator.js
index 7f0f7b7a..d28ce158 100644
--- a/src/ng/animator.js
+++ b/src/ng/animator.js
@@ -130,14 +130,6 @@ var $AnimatorProvider = function() {
this.$get = ['$animation', '$window', '$sniffer', '$rootElement', '$rootScope',
function($animation, $window, $sniffer, $rootElement, $rootScope) {
$rootElement.data(NG_ANIMATE_CONTROLLER, rootAnimateController);
- var unregister = $rootScope.$watch(function() {
- unregister();
- if (rootAnimateController.running) {
- $window.setTimeout(function() {
- rootAnimateController.running = false;
- }, 0);
- }
- });
/**
* @ngdoc function