update "fstream" to v0.1.19

This commit is contained in:
Nathan Rajlich 2012-11-03 18:23:02 -07:00
parent 323c7f52fd
commit 0f659439ef
3 changed files with 8 additions and 6 deletions

View file

@ -54,9 +54,7 @@ Abstract.prototype.warn = function (msg, code) {
}
Abstract.prototype.info = function (msg, code) {
var me = this
if (!me.listeners("info")) return
me.emit("info", msg, code)
this.emit("info", msg, code)
}
Abstract.prototype.error = function (msg, code, th) {

View file

@ -135,6 +135,7 @@ DirReader.prototype._read = function () {
if (entry._paused) entry.once("resume", function () {
me.emit("entryStat", entry, props)
})
else me.emit("entryStat", entry, props)
})
entry.on("ready", function EMITCHILD () {