minor cleanup

This commit is contained in:
kay.one 2013-08-03 18:27:12 -07:00
commit 4ff068db0a
12 changed files with 63 additions and 28 deletions

View file

@ -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);
});

View file

@ -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);
});
});