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 +