This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ function shallowClearAndCopy(src, dst) {
76
76
*
77
77
* By default, trailing slashes will be stripped from the calculated URLs,
78
78
* which can pose problems with server backends that do not expect that
79
- * behaviour . This can be disabled by configuring the `$resourceProvider` like
79
+ * behavior . This can be disabled by configuring the `$resourceProvider` like
80
80
* this:
81
81
*
82
82
* <pre>
@@ -428,7 +428,7 @@ angular.module('ngResource', ['ng']).
428
428
}
429
429
} ) ;
430
430
431
- // strip trailing slashes and set the url (unless this behaviour is specifically disabled)
431
+ // strip trailing slashes and set the url (unless this behavior is specifically disabled)
432
432
if ( self . defaults . stripTrailingSlashes ) {
433
433
url = url . replace ( / \/ + $ / , '' ) ;
434
434
}
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ describe("resource", function() {
183
183
184
184
185
185
it ( 'should not strip the trailing slashes from URLs if configured' , function ( ) {
186
- // Set the new behaviour for all new resources created by overriding the
186
+ // Set the new behavior for all new resources created by overriding the
187
187
// provider configuration
188
188
resourceProvider . defaults . stripTrailingSlashes = false ;
189
189
You can’t perform that action at this time.
0 commit comments