From: Ryan Dahl Date: Wed, 28 Apr 2010 22:28:21 +0000 (-0700) Subject: basicRequest -> module.requireNative X-Git-Tag: v0.1.93~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d85802100cbc706711a0b2482efa2d708efe463;p=platform%2Fupstream%2Fnodejs.git basicRequest -> module.requireNative --- diff --git a/src/node.js b/src/node.js index ef3441e..216f50d 100644 --- a/src/node.js +++ b/src/node.js @@ -141,8 +141,8 @@ var stdin; process.openStdin = function () { if (stdin) return stdin; - var net = basicRequire('net'), - fs = basicRequire('fs'), + var net = module.requireNative('net'), + fs = module.requireNative('fs'), fd = process.binding('stdio').openStdin(); if (process.binding('stdio').isStdinBlocking()) {