summary refs log tree commit diff
path: root/doc.am
diff options
context:
space:
mode:
authorAlex Sassmannshausen <alex.sassmannshausen@gmail.com>2013-09-22 15:43:23 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-23 17:49:39 +0200
commita4141d6d5326925174ef10a7d84ec72f03d6a6cb (patch)
tree762679dc2486fb3d4645ab4abdd1f5ae3d44df0a /doc.am
parent4fd6bf533743deadc50f65a565520173cb4f1e61 (diff)
downloadguix-a4141d6d5326925174ef10a7d84ec72f03d6a6cb.tar.gz
list-packages: Progressive Enhancement approach to JS.
* build-aux/list-packages.scm (package->sxml): Add parameters previous,
  description-ids and remaining, update docstring accordingly. Introduce logic
  for fold-values process.
  (insert-tr): Moved sxml package table-row generation to new function; remove
  <a> elements and JS function calls. These are created through JS
  (prep_pkg_descs). Add insert-js-call for every 15th package, and the last.
  (insert-js-call): New function.
  (packages->sxml): Change map to fold values; add init params.
  (insert-js): show_hide: add compatibility check, introduce, use thingLink
               prep: new JS function.
               bulk_show_hide: new JS function.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc.am')
0 files changed, 0 insertions, 0 deletions