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

Commit f0f6da3

Browse files
gabrielmaldigkalpak
authored andcommitted
fix($resource): fix parse errors on older Android WebViews
Error is caused by reserved keyword 'finally'. Closes #13989
1 parent 9425015 commit f0f6da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngResource/resource.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ angular.module('ngResource', ['ng']).
706706
return $q.reject(response);
707707
});
708708

709-
promise.finally(function() {
709+
promise['finally'](function() {
710710
value.$resolved = true;
711711
if (!isInstanceCall && cancellable) {
712712
value.$cancelRequest = angular.noop;

0 commit comments

Comments
 (0)