Add offenders to imageOptimization

This commit is contained in:
Gaël Métais
2015-06-01 16:52:50 +02:00
parent 1606cbab18
commit 9ccca3b33b
9 changed files with 85 additions and 47 deletions
@@ -864,6 +864,10 @@
var kilo = bytes / 1024;
if (kilo < 1) {
return bytes + ' Bytes';
}
if (kilo < 100) {
return kilo.toFixed(1) + ' KB';
}