addyosmani/backbone.paginator — pull request #13 by SBoudrias (2012-04-24 14:39:56+00:00)
Title: Add the ability to bind callback on success/error (requestPager)

Add the ability to bind callback on success/error when calling requestNextPage or requestPreviousPage (wich is by default supported by Backbone .fetch() method).

The argument to pass is a hash containing a success and/or error functions.

I tried to keep code style but it's sometime inconsistent; so let me know if anything is wrong or if you'd like any changes.

Regards

(BTW: I haven't find any folder containing existing unit testing so I didn't add test for this change...)