summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-09 09:20:44 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-09 09:20:44 -0400
commit6d5af995d9c6294a164e0b0056950731be948866 (patch)
tree84ed7ba1094dd579cdcddafd12b8e3b121433b57 /guix
parentcd21ea5d613b4174f1f29cad3da201c62ff9c247 (diff)
Add pagination.
* js/guix-packages.js: (guix.chunk): New function. (guix.paginate): New function. (guix.controller.pages, guix.controller.currentPageIndex, guix.controller.pageSize): New variables. (guix.controller.currentPage, guix.controller.isFirstPage, guix.controller.isLastPage, guix.controller.isCurrentPage, guix.controller.packageCount): New functions. (guix.controller.doSearch): Paginate. (guix.view): Render pagination UI.
Diffstat (limited to 'guix')
0 files changed, 0 insertions, 0 deletions