mirror of https://github.com/lidarr/Lidarr
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
|
'use strict';
|
||
|
define(
|
||
|
[
|
||
|
'handlebars',
|
||
|
'Shared/FormatHelpers'
|
||
|
], function (Handlebars, FormatHelpers) {
|
||
|
Handlebars.registerHelper('Bytes', function (size) {
|
||
|
return new Handlebars.SafeString(FormatHelpers.Bytes(size));
|
||
|
});
|
||
|
});
|