On Thu, Dec 27, 2012 at 1:03 PM, Jonathan Chayce Dickinson <[email protected]> wrote: > fs.prototype.readDir = function() { return fs.prototype.readdir.apply(this, > arguments); }
That's not going to work. fs is an object, not a class. I think what you mean is `fs.readDir = fs.readdir`. We do keep our shit consistent. Specifically, we keep our method names consistent with the posix syscalls they invoke. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
