From 308a59bf445759b32c20e9057a6dcc241042bdca Mon Sep 17 00:00:00 2001 From: William Bagayoko Date: Wed, 3 Apr 2013 19:34:47 -0500 Subject: fix(ngAnimator): correct polyfillSetup activation and memento generation --- src/ng/animator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ng') diff --git a/src/ng/animator.js b/src/ng/animator.js index f3714db8..662ed683 100644 --- a/src/ng/animator.js +++ b/src/ng/animator.js @@ -240,7 +240,7 @@ var $AnimatorProvider = function() { beforeFn(element, parent, after); if (element.length == 0) return done(); - var memento = (noop || polyfillSetup)(element); + var memento = (polyfillSetup || noop)(element); // $window.setTimeout(beginAnimation, 0); this was causing the element not to animate // keep at 1 for animation dom rerender -- cgit v1.2.3