lint
This commit is contained in:
parent
723c7d9f7c
commit
116f4dea05
@ -2,7 +2,7 @@ node.fs.exists = function (path, callback) {
|
|||||||
var p = node.fs.stat(path);
|
var p = node.fs.stat(path);
|
||||||
p.addCallback(function () { callback(true); });
|
p.addCallback(function () { callback(true); });
|
||||||
p.addErrback(function () { callback(false); });
|
p.addErrback(function () { callback(false); });
|
||||||
}
|
};
|
||||||
|
|
||||||
node.fs.cat = function (path, encoding) {
|
node.fs.cat = function (path, encoding) {
|
||||||
var open_promise = node.fs.open(path, node.O_RDONLY, 0666);
|
var open_promise = node.fs.open(path, node.O_RDONLY, 0666);
|
||||||
|
@ -90,6 +90,9 @@ An array containing the command line arguments.
|
|||||||
+__filename+ ::
|
+__filename+ ::
|
||||||
The filename of the script being executed.
|
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
|
=== Events
|
||||||
|
Loading…
x
Reference in New Issue
Block a user