summaryrefslogtreecommitdiff
path: root/lib/domain.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-22 03:44:26 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-27 17:20:06 +0100
commitb08a867d6016ccf04783a0f91fdbcc3460daf234 (patch)
tree5df4b30220cde5ae5eac9ed956c9badac6ba08af /lib/domain.js
parentfd992e6e36bb4b01a6ceb71cfeb3bae640b492a6 (diff)
downloadandroid-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.gz
android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.bz2
android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.zip
benchmark,doc,lib: capitalize more comments
PR-URL: https://github.com/nodejs/node/pull/26849 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'lib/domain.js')
-rw-r--r--lib/domain.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/domain.js b/lib/domain.js
index 46b8108574..144d668624 100644
--- a/lib/domain.js
+++ b/lib/domain.js
@@ -68,7 +68,7 @@ const asyncHook = createHook({
},
before(asyncId) {
const current = pairing.get(asyncId);
- if (current !== undefined) { // enter domain for this cb
+ if (current !== undefined) { // Enter domain for this cb
// We will get the domain through current.get(), because the resource
// object's .domain property makes sure it is not garbage collected.
current.get().enter();
@@ -76,7 +76,7 @@ const asyncHook = createHook({
},
after(asyncId) {
const current = pairing.get(asyncId);
- if (current !== undefined) { // exit domain for this cb
+ if (current !== undefined) { // Exit domain for this cb
current.get().exit();
}
},