git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termcol: monospaced terminal samples
[sheet.git]
/
browser.plp
diff --git
a/browser.plp
b/browser.plp
index 8b08b86a26a69fdc11e46d81015e1f95de2e4cb6..4ed3f1b8b8fc2f8bbc9ee2da6ed874588bf50415 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-8,7
+8,11
@@
Html({
version => 'v1.0',
description =>
"caniuse.",
version => 'v1.0',
description =>
"caniuse.",
- keywords => [qw'html css browser feature'],
+ keywords => [qw'
+ web browser support compatibility usage available feature
+ html html5 css css3 svg javascript js dom mobile
+ ie internet explorer firefox chrome safari webkit opera
+ '],
stylesheet => [qw'circus dark mono red light'],
data => ['browser-support.inc.pl'],
});
stylesheet => [qw'circus dark mono red light'],
data => ['browser-support.inc.pl'],
});
@@
-109,7
+113,7
@@
my $scorediv = (max(map { ref $_ eq 'HASH' && sum(values %$_) } values %$canihas
print '<table class="mapped">';
print '<col span="3">'; # should match first thead row
printf '<colgroup span="%d">', scalar @{ $versions{$_} } for @browsers;
print '<table class="mapped">';
print '<col span="3">'; # should match first thead row
printf '<colgroup span="%d">', scalar @{ $versions{$_} } for @browsers;
-
print "\n"
;
+
say '</colgroup><col>'
;
my $header = join('',
'<tr>',
my $header = join('',
'<tr>',
@@
-119,7
+123,7
@@
my $header = join('',
sprintf('<th colspan="%d" class="%s" title="%s">%s',
scalar @{ $versions{$_} },
join(' ', map {"b-a-$_"} grep {$_}
sprintf('<th colspan="%d" class="%s" title="%s">%s',
scalar @{ $versions{$_} },
join(' ', map {"b-a-$_"} grep {$_}
- $_,
$caniuse->{agents}->{$_}->{prefix
},
+ $_,
@{ $caniuse->{agents}->{$_} }{'prefix', 'type'
},
),
join(' ',
sprintf('%.1f%%', sum(values %{ $canihas->{$_} })),
),
join(' ',
sprintf('%.1f%%', sum(values %{ $canihas->{$_} })),