Add readFile to '/file.js'

Thanks Hagen.
pull/22966/head
Ryan Dahl 2009-09-22 17:27:50 +02:00
parent a02ca7a590
commit 8549994c4b
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ function debugObject (obj) {
}
}
exports.readFile = node.fs.cat;
exports.writeFile = function (filename, data, encoding) {
var promise = new node.Promise();