This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -582,8 +582,8 @@ angular.module('ngResource', ['ng']).
582582 if ( action . timeout ) {
583583 $log . debug ( 'ngResource:\n' +
584584 ' Only numeric values are allowed as `timeout`.\n' +
585- ' Promises are not supported in $resource, because the same value has to ' +
586- 'be re- used for multiple requests. If you are looking for a way to cancel ' +
585+ ' Promises are not supported in $resource, because the same value would ' +
586+ 'be used for multiple requests. If you are looking for a way to cancel ' +
587587 'requests, you should use the `cancellable` option.' ) ;
588588 delete action . timeout ;
589589 }
Original file line number Diff line number Diff line change @@ -1421,8 +1421,8 @@ describe('cancelling requests', function() {
14211421 expect ( httpSpy . calls [ 0 ] . args [ 0 ] . timeout ) . toBeUndefined ( ) ;
14221422 expect ( $log . debug ) . toHaveBeenCalledOnceWith ( 'ngResource:\n' +
14231423 ' Only numeric values are allowed as `timeout`.\n' +
1424- ' Promises are not supported in $resource, because the same value has to ' +
1425- 'be re- used for multiple requests. If you are looking for a way to cancel ' +
1424+ ' Promises are not supported in $resource, because the same value would ' +
1425+ 'be used for multiple requests. If you are looking for a way to cancel ' +
14261426 'requests, you should use the `cancellable` option.' ) ;
14271427 } )
14281428 ) ;
You can’t perform that action at this time.
0 commit comments