mirror of
https://github.com/Radarr/Radarr
synced 2024-12-29 11:25:26 +00:00
10 lines
281 B
JavaScript
10 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));
|
|
});
|
|
});
|