summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-12-05 07:03:04 -0800
committerRich Trott <rtrott@gmail.com>2017-12-06 16:52:31 -0800
commitd4cd8c2a77bf9d317afdc25ac6ae0f169161d452 (patch)
treef7ce589c6eba231c400595fe7e38e95dd2ab5b5f /lib
parent3d645338a005c4318c72a050b2066d4bca313d53 (diff)
downloadandroid-node-v8-d4cd8c2a77bf9d317afdc25ac6ae0f169161d452.tar.gz
android-node-v8-d4cd8c2a77bf9d317afdc25ac6ae0f169161d452.tar.bz2
android-node-v8-d4cd8c2a77bf9d317afdc25ac6ae0f169161d452.zip
doc: use American spellings per style guide
PR-URL: https://github.com/nodejs/node/pull/17471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/repl.js2
-rw-r--r--lib/internal/trace_events_async_hooks.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/repl.js b/lib/internal/repl.js
index 436e72cf75..812af56ed2 100644
--- a/lib/internal/repl.js
+++ b/lib/internal/repl.js
@@ -35,7 +35,7 @@ function createRepl(env, opts, cb) {
opts.terminal = false;
}
// the "dumb" special terminal, as defined by terminfo, doesn't support
- // ANSI colour control codes.
+ // ANSI color control codes.
// see http://invisible-island.net/ncurses/terminfo.ti.html#toc-_Specials
if (parseInt(env.NODE_DISABLE_COLORS) || env.TERM === 'dumb') {
opts.useColors = false;
diff --git a/lib/internal/trace_events_async_hooks.js b/lib/internal/trace_events_async_hooks.js
index 6724e0fdef..6d996b083f 100644
--- a/lib/internal/trace_events_async_hooks.js
+++ b/lib/internal/trace_events_async_hooks.js
@@ -5,7 +5,7 @@ const async_wrap = process.binding('async_wrap');
const async_hooks = require('async_hooks');
// Use small letters such that chrome://traceing groups by the name.
-// The behaviour is not only useful but the same as the events emitted using
+// The behavior is not only useful but the same as the events emitted using
// the specific C++ macros.
const BEFORE_EVENT = 'b'.charCodeAt(0);
const END_EVENT = 'e'.charCodeAt(0);