summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/cheesesteak.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/cheesesteak.js b/js/cheesesteak.js
index 821b9cd..a3cf991 100644
--- a/js/cheesesteak.js
+++ b/js/cheesesteak.js
@@ -66,8 +66,8 @@
/* Utility to convert bytes into human units */
var humanSize = {
get: function humanSize() {
- var units = ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB",
- "YiB"
+ var units = [
+ "B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"
];
var e = Math.floor(Math.log(this.size) / Math.log(1024));
return (this.size / Math.pow(1024, e)).toFixed(2) + " " + units[e];