diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-09 09:20:44 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-09 09:20:44 -0400 |
commit | 6d5af995d9c6294a164e0b0056950731be948866 (patch) | |
tree | 84ed7ba1094dd579cdcddafd12b8e3b121433b57 /guix/scripts | |
parent | cd21ea5d613b4174f1f29cad3da201c62ff9c247 (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/scripts')
0 files changed, 0 insertions, 0 deletions