Skip to content

Commit

Permalink
patching next bug with clientpager demo
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Mar 30, 2012
1 parent 47e34c0 commit d34ce80
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can either download the raw source code for the project, fork the repository

* Production: [production version][min] 3.3K file size (1.1K gzipped)
* Development: [development version][max] 7.01K file size (2.28K gzipped)
* Examples: [tarball](https://github.com/addyosmani/backbone.paginator/zipball/v0.152)
* Examples: [tarball](https://github.com/addyosmani/backbone.paginator/zipball/v0.153)

[min]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.min.js
[max]: https://raw.github.com/addyosmani/backbone.baginator/master/dist/backbone.paginator.js
Expand Down
2 changes: 1 addition & 1 deletion dist/backbone.paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Backbone.Paginator = (function (Backbone, _, $) {
},

nextPage: function () {
this.page = this.page++;
this.page = ++this.page;
this.pager();
},

Expand Down
2 changes: 1 addition & 1 deletion dist/backbone.paginator.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/netflix-infinite-paging/views/AppView.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},

addAll : function () {
//this.$el.empty();
this.collection.each (this.addOne);
},

Expand Down
2 changes: 1 addition & 1 deletion lib/backbone.paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Backbone.Paginator = (function (Backbone, _, $) {
},

nextPage: function () {
this.page = this.page++;
this.page = ++this.page;
this.pager();
},

Expand Down

0 comments on commit d34ce80

Please sign in to comment.