Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1cc9c9c

Browse files
gabrielmaldiNarretz
authored andcommitted
fix($animateCss): fix parse errors on older Android WebViews
Errors are caused by reserved keywords 'finally' and 'catch' Closes #12610
1 parent dc48aad commit 1cc9c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/animateCss.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ var $CoreAnimateCssProvider = function() {
3535
return this.getPromise().then(f1,f2);
3636
},
3737
'catch': function(f1) {
38-
return this.getPromise().catch(f1);
38+
return this.getPromise()['catch'](f1);
3939
},
4040
'finally': function(f1) {
41-
return this.getPromise().finally(f1);
41+
return this.getPromise()['finally'](f1);
4242
}
4343
};
4444

0 commit comments

Comments
 (0)