Skip to content

Commit

Permalink
Removed unneded breckets
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed May 12, 2010
1 parent 6f4c7de commit 86558a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/stats.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/stats.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* stats.js r4
* stats.js r3
* http://github.com/mrdoob/stats.js
*
* Released under MIT license:
Expand Down Expand Up @@ -89,7 +89,7 @@ var Stats = function () {
context.fillStyle = '#101030';
context.fillRect(canvas.width - 1, 0, 1, 30);

index = (Math.floor(30 - Math.min(30, (fps / 60) * 30)));
index = Math.floor(30 - Math.min(30, (fps / 60) * 30));

context.fillStyle = '#80ffff';
context.fillRect(canvas.width - 1, index, 1, 1);
Expand Down

2 comments on commit 86558a7

@mrdoob
Copy link
Owner Author

@mrdoob mrdoob commented on 86558a7 May 12, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Removed unneded breckets". Either I should sleep more or I'm too dependent of Chrome's Spell-checker...

@sole
Copy link

@sole sole commented on 86558a7 May 20, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It caught my eye too :P

Please sign in to comment.