From e1fb0e8289ed560fa9e492f04efc9dfe8bfe3dbf Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Wed, 9 Sep 2015 22:21:11 +0100 Subject: [PATCH] doc: use US English for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit behaviour -> behavior PR-URL: https://github.com/nodejs/node/pull/2784 Reviewed-By: Rich Trott Reviewed-By: Brendan Ashworth Reviewed-By: Michaƫl Zasso --- CONTRIBUTING.md | 4 ++-- doc/api/modules.markdown | 2 +- doc/api/process.markdown | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a096d4989d..9fe41d807a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -198,7 +198,7 @@ CoC](http://www.rust-lang.org/conduct.html). * Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works. * We will exclude you from interaction if you insult, demean or harass - anyone. That is not welcome behaviour. We interpret the term + anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the [Citizen Code of Conduct](http://citizencodeofconduct.org/); if you have any lack of clarity about what might be included in that concept, please read @@ -212,7 +212,7 @@ CoC](http://www.rust-lang.org/conduct.html). a newcomer, we care about making this community a safe place for you and we've got your back. * Likewise any spamming, trolling, flaming, baiting or other - attention-stealing behaviour is not welcome. + attention-stealing behavior is not welcome. * Avoid the use of personal pronouns in code comments or documentation. There is no need to address persons when explaining code (e.g. "When the developer") diff --git a/doc/api/modules.markdown b/doc/api/modules.markdown index 712f070e6c..4dc1086e6b 100644 --- a/doc/api/modules.markdown +++ b/doc/api/modules.markdown @@ -301,7 +301,7 @@ The `exports` variable that is available within a module starts as a reference to `module.exports`. As with any variable, if you assign a new value to it, it is no longer bound to the previous value. -To illustrate the behaviour, imagine this hypothetical implementation of +To illustrate the behavior, imagine this hypothetical implementation of `require()`: function require(...) { diff --git a/doc/api/process.markdown b/doc/api/process.markdown index 427792d7db..2bb5337182 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -216,15 +216,15 @@ Note: install a listener but that won't stop the debugger from starting. - `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that resets the terminal mode before exiting with code `128 + signal number`. If one of - these signals has a listener installed, its default behaviour will be removed + these signals has a listener installed, its default behavior will be removed (Node.js will no longer exit). - `SIGPIPE` is ignored by default, it can have a listener installed. - `SIGHUP` is generated on Windows when the console window is closed, and on other platforms under various similar conditions, see signal(7). It can have a listener installed, however Node.js will be unconditionally terminated by Windows about 10 seconds later. On non-Windows platforms, the default - behaviour of `SIGHUP` is to terminate Node.js, but once a listener has been - installed its default behaviour will be removed. + behavior of `SIGHUP` is to terminate Node.js, but once a listener has been + installed its default behavior will be removed. - `SIGTERM` is not supported on Windows, it can be listened on. - `SIGINT` from the terminal is supported on all platforms, and can usually be generated with `CTRL+C` (though this may be configurable). It is not generated