mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 00:12:30 +01:00
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));
|
|
});
|
|
});
|