Skip to content

Commit

Permalink
Removed unneeded check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 19, 2015
1 parent 6188cbf commit d869e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/stats.min.js

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

2 changes: 1 addition & 1 deletion src/Stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var Stats = function () {
prevTime = time;
frames = 0;

if ( mem !== undefined && self.performance ) {
if ( mem !== undefined ) {

var heapSize = performance.memory.usedJSHeapSize;
var heapSizeLimit = performance.memory.jsHeapSizeLimit;
Expand Down

0 comments on commit d869e3f

Please sign in to comment.