Browse Source

basicRequest -> module.requireNative

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
6d85802100
  1. 4
      src/node.js

4
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()) {

Loading…
Cancel
Save