diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-10-16 22:20:04 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-10-16 22:20:04 -0400 |
commit | 8ced57e86f518cecea4fa5c6499ad33459823b77 (patch) | |
tree | 333082b73c768c6e1854f613070dc32649bcc8b3 /env.in | |
parent | 93921cef3d2e76b53789140fad7153c025a7c340 (diff) |
js: Extract pagination model.
* js/utils.js (guix.clamp): New function.
* js/controller/packages.js (guix.packages.controller): Remove 'pages',
'currentPageIndex', and 'pageSize' properties. Add 'pager' prop.
Delete 'paginate', 'currentPage', 'isFirstPage', 'isLastPage', and
'isCurrentPage' methods.
* js/model/packages.js (guix.packages.Pager): New function.
* js/view/packages.js (guix.packages.view): Use new Pager API.
Diffstat (limited to 'env.in')
0 files changed, 0 insertions, 0 deletions