teleological/slickback — pull request #7 by sugampandey (2013-06-05 16:03:13+00:00)
Title: Fix to speed up pagination with backbone 1.0

Backbone 1.0 has an optimized set implementation. Without passing in reset option, fetchWithPagination will invoke fetch in backbone 1.0 forcing it to do set on the collection instead of reset. Invoking set for every pagination will take extremely long, due the nature of set optimization logic. Hence pass in reset to force the call to reset