mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
minor cleanup
This commit is contained in:
parent
376b386b31
commit
4ff068db0a
12 changed files with 63 additions and 28 deletions
|
@ -22,7 +22,7 @@ define(
|
|||
}
|
||||
|
||||
var date = Moment(input);
|
||||
var result = '<span title="' + date.format('LLLL') + '">' + FormatHelpers.DateHelper(input) + '</span>';
|
||||
var result = '<span title="' + date.format('LLLL') + '">' + FormatHelpers.dateHelper(input) + '</span>';
|
||||
|
||||
return new Handlebars.SafeString(result);
|
||||
});
|
||||
|
|
|
@ -5,7 +5,7 @@ define(
|
|||
'Shared/FormatHelpers'
|
||||
], function (Handlebars, FormatHelpers) {
|
||||
Handlebars.registerHelper('Bytes', function (size) {
|
||||
return new Handlebars.SafeString(FormatHelpers.Bytes(size));
|
||||
return new Handlebars.SafeString(FormatHelpers.bytes(size));
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('Pad2', function (input) {
|
||||
|
@ -13,7 +13,7 @@ define(
|
|||
});
|
||||
|
||||
Handlebars.registerHelper('Number', function (input) {
|
||||
return FormatHelpers.Number(input);
|
||||
return FormatHelpers.number(input);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue