Removed deprecated alias to lib/fs.js

This commit is contained in:
Micheil Smith 2010-10-12 10:02:05 +11:00 committed by Ryan Dahl
parent c1aa8ea944
commit 83db91be41
4 changed files with 0 additions and 6 deletions

View File

@ -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'.");

View File

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

View File

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

View File

@ -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));