guillaumervls/react-infinite-scroll — pull request #7 by zclark (2014-04-07 07:28:12+00:00)
Title: Adding support for non-async loadMore functions & window.resize

The example was breaking if the loadMore function was changed to not use setTimeout. Just flipped two lines to fix that.

Also made it attach to the window resize event so it continues to work if the user increases their window size enough to make the scroll bars disappear.