Browse files

app.js

  • Loading branch information...
1 parent bbce48a commit 791a21b25bdcf5660e2d026dcdf0d62fc66d6beb @trevorturk committed Jan 14, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 public/javascripts/application.js
View
2 public/javascripts/application.js
@@ -1,3 +1,5 @@
+// application.js
+
function human_size(bytes) {
var s = ['bytes', 'kb', 'MB', 'GB', 'TB', 'PB'];
var e = Math.floor(Math.log(bytes)/Math.log(1024));

0 comments on commit 791a21b

Please sign in to comment.