Skip to content

Commit ced16d5

Browse files
committed
That's what you get when doing search/replace blindly...
1 parent 9a22015 commit ced16d5

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Albeit theorically not as accurate the widget can also be easily inserted to **a
5555

5656
### Change Log ###
5757

58-
2011 05 28 - **r6** (4.102 KB, gzip: 1.387 KB)
58+
2011 05 28 - **r6** (4.103 KB, gzip: 1.384 KB)
5959

6060
* Updated check for memory accesible browsers.
6161
* Renamed MEM to MB for consistency reasons.

build/Stats.js

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

src/Stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ var Stats = function () {
252252

253253
if ( _modesCount == 3 ) {
254254

255-
_mb = performance.mbory.usedJSHeapSize * 0.000000954;
255+
_mb = performance.memory.usedJSHeapSize * 0.000000954;
256256
_mbMin = Math.min( _mbMin, _mb );
257257
_mbMax = Math.max( _mbMax, _mb );
258258

utils/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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 compiler/compiler.jar --js ../src/Stats.js --js_output_file ../build/Stats.js");
8+
os.system("java -jar compiler/compiler.jar --language_in=ECMASCRIPT5 --js ../src/Stats.js --js_output_file ../build/Stats.js");
99

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

0 commit comments

Comments
 (0)