X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/a9c93a19c0b7f17d653a61522ecffa4319d0590a..2ef4dd5f39564f1333dd68bc39c6d8e561efcaf3:/browser.plp?ds=inline
diff --git a/browser.plp b/browser.plp
index 4a18cb4..fc3d5f0 100644
--- a/browser.plp
+++ b/browser.plp
@@ -20,6 +20,7 @@ Html({
with Wikimedia
browser usage statistics.
+
<:
my $caniuse = do 'browser-support.inc.pl' or die $! || $@;
@@ -144,7 +145,14 @@ for my $id (sort {
my $cell = $_ ? lc $_->[0] : '-';
print '
', $cell;
}
- printf ' | %s', $row->{description}, $row->{title};
+ print ' | ', $row->{title};
+ print '';
+ s/\.?$/./, print " $_ " for map { ref $_ ? @$_ : $_ || () }
+ $row->{description}, $row->{notes};
+ printf 'Resources: %s.', join(', ',
+ map { qq( $_->{title}) } @$_
+ ) for $row->{links} // ();
+ print ' ';
for ($row->{status}) {
my $cell = $_ // '-';
$cell = sprintf '%s', $_, $cell for $row->{spec} // ();
@@ -187,7 +195,7 @@ print '';
sub paddedver {
# normalised version number comparable as string (cmp)
shift =~ /^(\d*)(.*)/;
- return sprintf('%02d', $1) . $2;
+ return sprintf('%02d', $1 || 0) . $2;
}
sub showversions {
@@ -199,7 +207,8 @@ sub showversions {
return join('â', @span);
}
-:>
+:>
+
|