From 9d3d8774ace94903e23a9e8360f02634dae555e3 Mon Sep 17 00:00:00 2001 From: calainos Date: Fri, 24 Mar 2017 19:32:11 -0300 Subject: [PATCH] docs: Remove m.prop reference in error message (#1742) Changing m.prop.combine and m.prop.merge to stream.combine and stream.merge --- stream/stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/stream.js b/stream/stream.js index a5ddc341..7e9b2e8c 100644 --- a/stream/stream.js +++ b/stream/stream.js @@ -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)])) })