docs: Remove m.prop reference in error message (#1742)

Changing m.prop.combine and m.prop.merge to stream.combine and stream.merge
This commit is contained in:
calainos 2017-03-24 19:32:11 -03:00 committed by Pat Cavit
parent 4d928d4493
commit 9d3d8774ac

View file

@ -58,7 +58,7 @@ function finalize(stream) {
}
function combine(fn, streams) {
if (!streams.every(valid)) throw new Error("Ensure that each item passed to m.prop.combine/m.prop.merge is a stream")
if (!streams.every(valid)) throw new Error("Ensure that each item passed to stream.combine/stream.merge is a stream")
return initDependency(createStream(), streams, function() {
return fn.apply(this, streams.concat([streams.filter(changed)]))
})