Skip to content

Commit

Permalink
update version to 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaSh committed Sep 3, 2016
1 parent 5b7718e commit 07f2c66
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/vue-paginate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-paginate v2.1.1
* vue-paginate v2.1.2
* (c) 2016 Taha Shashtari
* Released under the MIT License.
*/
Expand Down Expand Up @@ -262,6 +262,7 @@
// Update the original list when the user changes the full list.
vm.$watch('full' + utils.capitalize(this.listName), function (newVal, oldVal) {
_this.originalList = newVal;
_this.setNumberOfPages(_this.originalList.length);
vm['refresh' + utils.capitalize(_this.listName) + 'Page']();
});

Expand Down Expand Up @@ -291,7 +292,6 @@

_this.list.currentPage = typeof page == 'number' ? page - 1 : page;

_this.setNumberOfPages(_this.originalList.length);
_this.setLimitedPages(limit);
};

Expand Down
4 changes: 2 additions & 2 deletions dist/vue-paginate.min.js

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

Binary file modified dist/vue-paginate.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-paginate",
"version": "2.1.1",
"version": "2.1.2",
"description": "A simple vue.js plugin to paginate data",
"main": "dist/vue-paginate.js",
"scripts": {
Expand Down

0 comments on commit 07f2c66

Please sign in to comment.