unnecessary call to common function
This commit is contained in:
parent
dfc3e013b6
commit
016e2d94f0
@ -239,8 +239,6 @@ function humanSizeFromBytes(opts, bytes) {
|
|||||||
return format(template, s, sizes[i]);
|
return format(template, s, sizes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
humanSizeFromBytes({precision:1}, 1638400);
|
|
||||||
|
|
||||||
function capitalize(s) {
|
function capitalize(s) {
|
||||||
return s[0].toUpperCase() + s.substr(1);
|
return s[0].toUpperCase() + s.substr(1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user