flaviusmatis/simplePagination.js — pull request #26 by WarriorFish (2013-03-12 06:53:00+00:00)
Title: Features I know I'll need!

I made the following TODO list of items that we would need to add to your library before it was perfect for our needs.

I am still not certain about the un-marked item in my list; tracking (unique) page view count. This can be done externally, just as easily.

//TODO: add stupidity check...on selectPage, verify number is within bounds ... DONE
//TODO: add helper...get total pages ... DONE
//TODO: add helper...get current page ... DONE
//TODO: add helper...track pages viewed...track unique pages viewed
//TODO: add first/last links ... DONE
//TODO: pass event along with item click ... DONE