This commit is contained in:
Ryan 2009-08-26 22:03:19 +02:00
parent 723c7d9f7c
commit 116f4dea05
29 changed files with 179 additions and 176 deletions

View File

@ -2,7 +2,7 @@ node.fs.exists = function (path, callback) {
var p = node.fs.stat(path);
p.addCallback(function () { callback(true); });
p.addErrback(function () { callback(false); });
}
};
node.fs.cat = function (path, encoding) {
var open_promise = node.fs.open(path, node.O_RDONLY, 0666);

View File

@ -90,6 +90,9 @@ An array containing the command line arguments.
+__filename+ ::
The filename of the script being executed.
+process+ ::
A special global object. The +process+ object is like the +window+ object of
browser-side javascript.
=== Events