From 3cc912f256d419294c833017950aeeb39e271435 Mon Sep 17 00:00:00 2001 From: Donald Mull Jr Date: Mon, 29 Aug 2016 12:56:35 -0400 Subject: [PATCH] Small correction to Promise.props example (#1216) --- docs/docs/api/promise.props.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/api/promise.props.md b/docs/docs/api/promise.props.md index 35e9fa9cd..32d07711e 100644 --- a/docs/docs/api/promise.props.md +++ b/docs/docs/api/promise.props.md @@ -54,7 +54,7 @@ function directorySizeInfo(root) { return stat; }); }).then(_.flatten); - })(root).then(_); + })(root).then(_.chain); var smallest = stats.call("min", "size").call("pick", "size", "filePath").call("value"); var largest = stats.call("max", "size").call("pick", "size", "filePath").call("value"); @@ -105,4 +105,4 @@ Promise.join(getPictures(), getComments(), getTweets(), (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq); })(); - \ No newline at end of file +