anahitasocial/anahita — pull request #11 by kulbakin (2013-08-23 22:27:48+00:00)
Title: fix: javascript Paginator

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.