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

Commit 906642a

Browse files
committed
Fix broken US English.
1 parent 05661fa commit 906642a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ngResource/resource.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function shallowClearAndCopy(src, dst) {
7676
*
7777
* By default, trailing slashes will be stripped from the calculated URLs,
7878
* 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
8080
* this:
8181
*
8282
* <pre>
@@ -428,7 +428,7 @@ angular.module('ngResource', ['ng']).
428428
}
429429
});
430430

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)
432432
if (self.defaults.stripTrailingSlashes) {
433433
url = url.replace(/\/+$/, '');
434434
}

test/ngResource/resourceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe("resource", function() {
183183

184184

185185
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
187187
// provider configuration
188188
resourceProvider.defaults.stripTrailingSlashes = false;
189189

0 commit comments

Comments
 (0)