From 5e93bc4fba2b9cd797eed81caf0a3c5c87d6fd80 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 3efad27eec6fe8..41069832db029b 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 38f5da5381061c..e5c328306fab33 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 8e016d75b97230..32bcdd6fd4921a 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -206,15 +206,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 (io.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 io.js will be unconditionally terminated by Windows about 10 seconds later. On non-Windows platforms, the default - behaviour of `SIGHUP` is to terminate io.js, but once a listener has been - installed its default behaviour will be removed. + behavior of `SIGHUP` is to terminate io.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