Commit 6a2b204b authored by Herbert Vojčík's avatar Herbert Vojčík Committed by cjihrig
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>

Conflicts:
	lib/module.js
parent 8c1df7a8
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