git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658d36c
)
browser: obsolete trimming in version number formatting
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 27 Apr 2017 15:43:26 +0000
(17:43 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 29 May 2017 17:21:27 +0000
(19:21 +0200)
CanIUse data no longer contains version numbers starting with "."
or ending with "x".
browser.plp
patch
|
blob
|
history
diff --git
a/browser.plp
b/browser.plp
index b06d8e94bd3f1c633072c3d6e5353a5d95817bd6..83a9678ef6f2b3b319f66e8500e2b65c4c11542e 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-459,10
+459,6
@@
sub paddedver {
sub showversions {
# title to describe minumum version and optional maximum for multiple cells
my @span = (map { split /-/ } grep { defined } @_);
- for (@span) {
- s/^\./0./;
- s/x$/.*/;
- }
return $span[0] if @_ <= 1;
splice @span, 1, -1;
return join('‒', @span);