humanSize handlebars helper

This commit is contained in:
Régis Hanol 2014-02-12 20:24:26 -08:00
parent fe3a76817d
commit ffac197386

View File

@ -354,3 +354,7 @@ Handlebars.registerHelper('customHTML', function(property) {
}
});
Ember.Handlebars.registerBoundHelper('humanSize', function(size) {
return new Handlebars.SafeString(I18n.toHumanSize(size));
});