git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sc: compare attack order by dps
[sheet.git]
/
browser.plp
diff --git
a/browser.plp
b/browser.plp
index 1c5bb8535cb9dfab8a1d9d95421c0a6a86f08e2e..a3fa063056dd96a8c4886095b86ba242676f1a33 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-83,8
+83,11
@@
while (my ($browser, $row) = each %{ $caniuse->{agents} }) {
];
}
];
}
-print <<'';
-<p id="intro">Alternate rendition of Fyrd's <a href="http://caniuse.com/">when can I use...</a> page
+my $ref = showlink('Can I use', 'https://caniuse.com/');
+$ref =~ s/(?=>)/ title="updated $_"/
+ for map { s/[\sT].*//r } $caniuse->{-date} || ();
+$ref = "Fyrd's $ref page";
+say '<p id="intro">Alternate rendition of '.$ref;
my ($canihas, $usage);
my $minusage = $get{threshold} // 1;
my ($canihas, $usage);
my $minusage = $get{threshold} // 1;
@@
-106,7
+109,7
@@
given ($get{usage} // 'wm') {
my $ref = $canihas->{-title} || 'unknown';
$ref = showlink($ref, $_)
for $canihas->{-site} || $canihas->{-source} || ();
my $ref = $canihas->{-title} || 'unknown';
$ref = showlink($ref, $_)
for $canihas->{-site} || $canihas->{-source} || ();
- $ref
.= " $_"
for $canihas->{-date} || ();
+ $ref
=~ s/(?=>)/ title="updated $_"/
for $canihas->{-date} || ();
print "\nwith $ref browser usage statistics";
}
print "\nwith $ref browser usage statistics";
}
@@
-423,7
+426,7
@@
sub saybrowsercols {
),
scalar @span,
$title,
),
scalar @span,
$title,
- showversions($span[0]->[0], @span > 1 ? $span[-1]->[-1] : ()),
+ showversions($span[0]->[0], @span > 1
&& defined $ver
? $span[-1]->[-1] : ()),
);
undef $prev;
@span = ();
);
undef $prev;
@span = ();