Skip to content

Commit d664b95

Browse files
agcolomrvagg
authored andcommitted
doc: use US English for consistency
behaviour -> behavior PR-URL: #2784 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Brendan Ashworth <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 6098504 commit d664b95

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ CoC](http://www.rust-lang.org/conduct.html).
198198
* Please keep unstructured critique to a minimum. If you have solid
199199
ideas you want to experiment with, make a fork and see how it works.
200200
* We will exclude you from interaction if you insult, demean or harass
201-
anyone. That is not welcome behaviour. We interpret the term
201+
anyone. That is not welcome behavior. We interpret the term
202202
"harassment" as including the definition in the [Citizen Code of
203203
Conduct](http://citizencodeofconduct.org/); if you have any lack of
204204
clarity about what might be included in that concept, please read
@@ -212,7 +212,7 @@ CoC](http://www.rust-lang.org/conduct.html).
212212
a newcomer, we care about making this community a safe place for you
213213
and we've got your back.
214214
* Likewise any spamming, trolling, flaming, baiting or other
215-
attention-stealing behaviour is not welcome.
215+
attention-stealing behavior is not welcome.
216216
* Avoid the use of personal pronouns in code comments or
217217
documentation. There is no need to address persons when explaining
218218
code (e.g. "When the developer")

doc/api/modules.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ The `exports` variable that is available within a module starts as a reference
301301
to `module.exports`. As with any variable, if you assign a new value to it, it
302302
is no longer bound to the previous value.
303303

304-
To illustrate the behaviour, imagine this hypothetical implementation of
304+
To illustrate the behavior, imagine this hypothetical implementation of
305305
`require()`:
306306

307307
function require(...) {

doc/api/process.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -216,15 +216,15 @@ Note:
216216
install a listener but that won't stop the debugger from starting.
217217
- `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that resets
218218
the terminal mode before exiting with code `128 + signal number`. If one of
219-
these signals has a listener installed, its default behaviour will be removed
219+
these signals has a listener installed, its default behavior will be removed
220220
(Node.js will no longer exit).
221221
- `SIGPIPE` is ignored by default, it can have a listener installed.
222222
- `SIGHUP` is generated on Windows when the console window is closed, and on other
223223
platforms under various similar conditions, see signal(7). It can have a
224224
listener installed, however Node.js will be unconditionally terminated by
225225
Windows about 10 seconds later. On non-Windows platforms, the default
226-
behaviour of `SIGHUP` is to terminate Node.js, but once a listener has been
227-
installed its default behaviour will be removed.
226+
behavior of `SIGHUP` is to terminate Node.js, but once a listener has been
227+
installed its default behavior will be removed.
228228
- `SIGTERM` is not supported on Windows, it can be listened on.
229229
- `SIGINT` from the terminal is supported on all platforms, and can usually be
230230
generated with `CTRL+C` (though this may be configurable). It is not generated

0 commit comments

Comments
 (0)