git ssb

2+

Dominic / pull-stream



Commit 704f240f6b0190685fe554ad6e4c2068215661f6

only do op on through when not end

Dominic Tarr committed on 3/23/2013, 12:31:16 AM
Parent: c25394b02448b7956e5385b40779d759646a3168

Files changed

throughs.jschanged
throughs.jsView
@@ -29,9 +29,9 @@
2929 var through = exports.through =
3030 function (read, op) {
3131 return function (end, cb) {
3232 return read(end, function (end, data) {
33- op && op(data)
33+ if(!end) op && op(data)
3434 cb(end, data)
3535 })
3636 }
3737 }

Built with git-ssb-web