minor cleanup

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

View file

@ -8,12 +8,12 @@ define(
return {
Bytes: function (sourceSize) {
bytes: function (sourceSize) {
var size = Number(sourceSize);
return Filesize(size, 1, false);
},
DateHelper: function (sourceDate) {
dateHelper: function (sourceDate) {
if (!sourceDate) {
return '';
}
@ -46,7 +46,7 @@ define(
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
},
Number: function (input) {
number: function (input) {
if (!input) {
return '';
}