$q 'finally' not working in IE8

后端 未结 1 634
面向向阳花
面向向阳花 2021-02-13 22:36

Angular 1.2 replaced always with finally on promises.

So what was once this:

$http.get(\'/myurl\').always(handler);

1条回答
  •  北海茫月
    2021-02-13 23:07

    Found it: https://github.com/angular/angular.js/commit/f078762d48d0d5d9796dcdf2cb0241198677582c

    $http.get('/myurl')["finally"](handler);

    0 讨论(0)
提交回复
热议问题