anahitasocial/anahita — pull request #18 by kulbakin (2013-09-29 13:06:51+00:00)
Title: fix: javascript Paginator

clean version of pull #11

This one is leftover from discussed some time ago InfinitScroll implementation. I missed the fact that you rather merged files so some of the suggested fixes were left uncommitted. Namely issue with batchSize of Paginator.
Please see commit comment for details what exactly wrong with batchSize.
This pull request suggests to remove batchSize completely since the only effect it gives is to hammer server with extra load by requesting next 3 (!!) pages right away even if user never intends to view past 1st, by the way it does so with default value of 2.