diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-07 17:30:57 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-07 17:30:57 -0400 |
commit | 4f56c54a4bce052d785c16e54d90cbdb42e2a0b1 (patch) | |
tree | ac00dcc33089da22a7f0e22826bd0b8aa41fdbba | |
parent | b210fd00100d04aac022f3ab973f87dd7505b60e (diff) |
Rename weblabels to librejs.
* guix-web (run-route): Call librejs.
(weblabels): Renamed.
(librejs): New procedure.
-rwxr-xr-x | guix-web | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -131,8 +131,8 @@ (render-json (all-packages-json))) ((GET "package" name) (render-html (view-package name))) - ((GET "weblabels") - (render-html (weblabels))) + ((GET "librejs") + (render-html (librejs))) (_ #f))) (define (all-packages-json) @@ -220,7 +220,6 @@ "versions" "version")))) -(define (weblabels) (main-layout name `((h1 ,name (span (@ (class "badge")) @@ -229,6 +228,8 @@ ,@(map (lambda (p) `(li ,(describe-package p))) packages)))))) + +(define (librejs) (define (weblabel js) `(tr (td |