Commit b8604fa4 authored by Herbert Vojčík's avatar Herbert Vojčík Committed by Trevor Norris
Browse files

module: replace NativeModule.require

The NativeModule system passes NativeModule.require transparently and so
is unnecessary to call explicitly.

The only one which should have the prefix is the in line 295, where
actually implements a big fs-based module system and actually requires a
native module. That is left unchanged.

PR-URL: https://github.com/joyent/node/pull/9201
Ref: https://github.com/joyent/node/issues/2009


Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 6c60a72d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment