paulirish/infinite-scroll — pull request #192 by chadrien (2012-06-28 12:50:49+00:00)
Title: Adding options to start loading next page depending on the number of elements still hidden

New options:
- scrollMethod, values [ 'px', 'count' ] ('px' as default) : if 'px', keep current fonctionnality (load depending on the pixels left to the bottom). 'count' enable new possibility of loading depending on remaining hidden elements
- maxHidden, integer: if scrollMethod is set to 'count', the maximum of hidden elements remaining before next page starts loading.