summaryrefslogtreecommitdiff
path: root/guile.am
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-10-16 22:20:04 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-10-16 22:20:04 -0400
commit8ced57e86f518cecea4fa5c6499ad33459823b77 (patch)
tree333082b73c768c6e1854f613070dc32649bcc8b3 /guile.am
parent93921cef3d2e76b53789140fad7153c025a7c340 (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 'guile.am')
0 files changed, 0 insertions, 0 deletions