Skip to content

Commit

Permalink
Small correction to Promise.props example (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
luggage66 authored and benjamingr committed Aug 29, 2016
1 parent 60affdf commit 3cc912f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/api/promise.props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -105,4 +105,4 @@ Promise.join(getPictures(), getComments(), getTweets(),
(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>

0 comments on commit 3cc912f

Please sign in to comment.