paulirish/infinite-scroll — pull request #108 by fliespl (2011-12-12 09:00:06+00:00)
Title: Since drupal uses 0,1,2...n-1 page notation, we must adjust currPage arg...

Title says it all. Current code always omitted page=1.

It loaded:
page=0 (start)
page=2,
page=3
page=n (not exists)

With this fix, it loads:
page=0
page=1,
page=2.
.
.
.
page=n-1