Browse Source

lint

v0.7.4-release
Ryan 16 years ago
parent
commit
116f4dea05
  1. 2
      src/file.js
  2. 3
      website/api.txt

2
src/file.js

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

3
website/api.txt

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

Loading…
Cancel
Save