node/lib/internal
Benjamin Gruenbaum d275cdf202 child_process: refactor self=this in socket_list
The socket list module (used by child_process) currently uses the
`var self = this;` pattern for context in several places, this PR
replaces this with arrow functions or passing a parameter in where
appropriate.

Note that the `var self = this` in the _request is intentioanlly
left in place since it is not trivial to refactor it and the current
pattern isn't bad given the use case.

PR-URL: https://github.com/nodejs/node/pull/5860
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
2016-04-08 17:34:18 -04:00
..
streams streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
child_process.js child_process: fix data loss with readable event 2016-03-02 14:01:11 -08:00
cluster.js cluster: remove handles when disconnecting worker 2015-12-23 08:38:33 -08:00
freelist.js lib: freelist: use .pop() for allocation 2016-03-21 12:57:52 -07:00
module.js module,repl: remove repl require() hack 2016-01-19 11:52:29 -08:00
net.js net: move isLegalPort to internal/net 2016-03-02 14:01:11 -08:00
readme.md doc: add internal modules notice 2015-08-25 11:58:50 -04:00
repl.js repl: make sure historyPath is trimmed 2016-02-15 11:30:23 -08:00
socket_list.js child_process: refactor self=this in socket_list 2016-04-08 17:34:18 -04:00
util.js util: move .decorateErrorStack to internal/util 2016-01-19 11:52:29 -08:00
v8_prof_polyfill.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00
v8_prof_processor.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.