Increases size by 5kB to 134kB (50kB to 793kB uncompressed)
but greatly improves usability.
p => 'plugin required',
a => 'partial',
y => 'supported',
p => 'plugin required',
a => 'partial',
y => 'supported',
- d => 'disabled by default',
+ d => '(disabled by default)',
map {"-$_-"}
($caniuse->{agents}->{$_[0]}->{prefix_exceptions} // {})->{$_[1]}
// $caniuse->{agents}->{$_[0]}->{prefix} // (),
map {"-$_-"}
($caniuse->{agents}->{$_[0]}->{prefix_exceptions} // {})->{$_[1]}
// $caniuse->{agents}->{$_[0]}->{prefix} // (),
while $prev =~ s/\h \# (\d+) \b//x;
# prepare version hover details
while $prev =~ s/\h \# (\d+) \b//x;
# prepare version hover details
- my $title = sprintf('%.1f%% %s', $usage * $usagepct, join(', ',
- map { ref $_ eq 'CODE' ? $_->($browser, $span[0]->[0]) : $_ }
- map { $DSTATS{$_} // () }
- map { split / /, $_ }
- $prev
+ my $title = sprintf('%.1f%% %s', $usage * $usagepct, join(' ',
+ (map { ref $_ eq 'CODE' ? $_->($browser, $span[0]->[0]) : $_ }
+ map { $DSTATS{$_} // () }
+ map { split / /, $_ }
+ $prev
+ ),
+ 'in', $caniuse->{agents}->{$browser}->{abbr},
+ showversions((map { @{$_} } @span), undef),
));
$title .= "\n$_" for notestotitle(@notes);
));
$title .= "\n$_" for notestotitle(@notes);