addyosmani/backbone.paginator — pull request #57 by groovetrain (2012-07-06 17:35:07+00:00)
Title: Changes to clientPager to use firstPage and move some initialization out of sync and into initialize

I'm sorry, I committed before I wrote an actual commit message. If you want me to rebase, I can.

I was having issues using the clientPager with an existing data, i.e. didn't need to be fetched. So I had to move some of the code that gets executed in the sync function, setting firstPage, currentPage, etc. into the initialize function.

Also, I made changes to respect the firstPage parameter in some places instead of assuming it's 1.