Skip to content

Commit 67596ee

Browse files
committed
Now using Closure Compiler (~20bytes)
1 parent 2be1018 commit 67596ee

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This class provides a simple info box that will help you monitor your code perfo
4646

4747
### Bookmarklet ###
4848

49-
The widget can also be used as a bookmarklet to monitor any website.
49+
Albeit theorically not as accurate the widget can also be easily inserted to **any site** using the bookmarklet.
5050
[Follow the instructions](http://mrdoob.com/blog/post/707).
5151

5252
### Change Log ###

build/Stats.js

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
output = '../build/Stats.js';
66
string = "// stats.js r" + str(rev) + " - http://github.com/mrdoob/stats.js\n";
77

8-
os.system("java -jar yuicompressor-2.4.2.jar ../src/Stats.js -o ../build/Stats.js --charset utf-8 -v");
9-
# os.system("java -jar compiler.jar --js ../src/Stats.js --js_output_file ../build/Stats.js"); # --compilation_level ADVANCED_OPTIMIZATIONS
8+
# os.system("java -jar yuicompressor-2.4.2.jar ../src/Stats.js -o ../build/Stats.js --charset utf-8 -v");
9+
os.system("java -jar compiler.jar --js ../src/Stats.js --js_output_file ../build/Stats.js");
1010

1111
src_file = open(output,'r');
1212
string += src_file.read() + "\n";

utils/compiler.jar

3.76 MB
Binary file not shown.

0 commit comments

Comments
 (0)