mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
minor cleanup
This commit is contained in:
parent
376b386b31
commit
4ff068db0a
12 changed files with 63 additions and 28 deletions
|
@ -8,12 +8,12 @@ define(
|
|||
|
||||
return {
|
||||
|
||||
Bytes: function (sourceSize) {
|
||||
bytes: function (sourceSize) {
|
||||
var size = Number(sourceSize);
|
||||
return Filesize(size, 1, false);
|
||||
},
|
||||
|
||||
DateHelper: function (sourceDate) {
|
||||
dateHelper: function (sourceDate) {
|
||||
if (!sourceDate) {
|
||||
return '';
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ define(
|
|||
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
|
||||
},
|
||||
|
||||
Number: function (input) {
|
||||
number: function (input) {
|
||||
if (!input) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue