Permalink
Browse files

Correctly indicate characters rather than bytes as measurement units

  • Loading branch information...
1 parent 7a46fc4 commit e671c421016942bcca87b954e0919c9083829ba0 @marijnh committed Apr 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 run.sh
  2. +2 −2 templates/body
View
2 run.sh
@@ -1,3 +1,3 @@
#! /bin/bash
-while true; do nodejs serve.js; done
+while true; do node serve.js; done
View
@@ -104,8 +104,8 @@
<p>
<b>Ugly version:</b><br/>
<span style="font-size: 90%">
- Old version: <?t $arg.old_size?> bytes<br/>
- New version: <?t $arg.mini.length?> bytes<br/>
+ Old version: <?t $arg.old_size?> characters<br/>
+ New version: <?t $arg.mini.length?> characters<br/>
Saved: <?t $arg.old_size - $arg.mini.length?> (result is <?t String(($arg.mini.length/$arg.old_size)*100).slice(0,4)?>% of original)<br/></span>
<textarea style="height: 20em"><?t $arg.mini?></textarea>
</p>

0 comments on commit e671c42

Please sign in to comment.