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:
parent
4d928d4493
commit
9d3d8774ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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)]))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue