From 08c39fb025c8369a3a2f71380b8fa507767c5d6c Mon Sep 17 00:00:00 2001 From: Gabriel Monteagudo Date: Tue, 18 Aug 2015 03:46:28 -0300 Subject: [PATCH] fix($animateCss): fix parse errors on older Android WebViews which choke with reserved keywords --- src/ng/animateCss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/animateCss.js b/src/ng/animateCss.js index 3da66f3d1def..4c08725d948e 100644 --- a/src/ng/animateCss.js +++ b/src/ng/animateCss.js @@ -35,10 +35,10 @@ var $CoreAnimateCssProvider = function() { return this.getPromise().then(f1,f2); }, 'catch': function(f1) { - return this.getPromise().catch(f1); + return this.getPromise()['catch'](f1); }, 'finally': function(f1) { - return this.getPromise().finally(f1); + return this.getPromise()['finally'](f1); } };