Browse Source

Removed deprecated alias to lib/fs.js

v0.7.4-release
Micheil Smith 14 years ago
committed by Ryan Dahl
parent
commit
83db91be41
  1. 1
      lib/file.js
  2. 2
      lib/net.js
  3. 1
      lib/posix.js
  4. 2
      src/node.cc

1
lib/file.js

@ -1 +0,0 @@
throw new Error("The 'file' module has been removed. 'file.read' is now 'fs.readFile', and 'file.write' is now 'fs.writeFile'.");

2
lib/net.js

@ -1220,5 +1220,3 @@ Server.prototype.close = function () {
self.emit("close");
}
};
// vim:ts=2 sw=2

1
lib/posix.js

@ -1 +0,0 @@
throw new Error("The 'posix' module has been renamed to 'fs'");

2
src/node.cc

@ -1508,13 +1508,11 @@ static Handle<Value> Binding(const Arguments& args) {
exports->Set(String::New("dgram"), String::New(native_dgram));
exports->Set(String::New("dns"), String::New(native_dns));
exports->Set(String::New("events"), String::New(native_events));
exports->Set(String::New("file"), String::New(native_file));
exports->Set(String::New("freelist"), String::New(native_freelist));
exports->Set(String::New("fs"), String::New(native_fs));
exports->Set(String::New("http"), String::New(native_http));
exports->Set(String::New("crypto"), String::New(native_crypto));
exports->Set(String::New("net"), String::New(native_net));
exports->Set(String::New("posix"), String::New(native_posix));
exports->Set(String::New("querystring"), String::New(native_querystring));
exports->Set(String::New("repl"), String::New(native_repl));
exports->Set(String::New("readline"), String::New(native_readline));

Loading…
Cancel
Save