Permalink
Browse files

src: update f function call comment

Commit a01e8bc (src: moving f function call comment, 2016-09-04) moved
a comment to be closer to the place in the code it was describing.
While working on this there was feedback on the comment
itself:
https://github.com/nodejs/node/commit/
a01e8bc#comments

This PR includes the suggestions in the above comments.

PR-URL: #8416
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Franziska Hinkelmann <franzih@chromium.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
danbev authored and Fishrock123 committed Sep 6, 2016
1 parent d536d6d commit 8cbbb47e396d5bb6d593433f7078602eec197e7a
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/node.cc
View
@@ -3498,11 +3498,11 @@ void LoadEnvironment(Environment* env) {
global->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "global"), global);
// Now we call 'f' with the 'process' variable that we've built up with
- // all our bindings. Inside bootstrap_node.js we'll take care of
- // assigning things to their places.
+ // all our bindings. Inside bootstrap_node.js and internal/process we'll
+ // take care of assigning things to their places.
// We start the process this way in order to be more modular. Developers
- // who do not like how bootstrap_node.js setups the module system but do
+ // who do not like how bootstrap_node.js sets up the module system but do
// like Node's I/O bindings may want to replace 'f' with their own function.
Local<Value> arg = env->process_object();
f->Call(Null(env->isolate()), 1, &arg);

0 comments on commit 8cbbb47

Please sign in to comment.