Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | js: Clean up packageCount function. | David Thompson | 2015-01-30 | 1 | -0/+7 |
| | | | | | | * js/utils.js (guix.add): New function. * js/controllers/packages.js (guix.packages.controller.packageCount): Reimplement. | ||||
* | js: Extract pagination model. | David Thompson | 2014-10-16 | 1 | -0/+4 |
| | | | | | | | | | | * 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. | ||||
* | js: utils file initializes guix namespace with certainty. | David Thompson | 2014-10-15 | 1 | -1/+1 |
| | | | | * js/utils.js (guix): Don't check for existing value (there isn't one). | ||||
* | Restructure JavaScript files. | David Thompson | 2014-10-15 | 1 | -0/+32 |
* js/guix-packages.js: Delete. * js/mithril.js: Delete. * js/underscore.js: Delete. * js/lib/mithril.js: New file. * js/lib/underscore.js: New file. * js/packages.js: New file. * js/routes.js: New file. * js/utils.js: New file. * js/view/layout.js: New file. * guix-web/view.scm (javascripts): Add new files. Delete old ones. * css/guix.css (logo): New class. * images/logo.png: Shrink logo. |