Skip to content

Commit d869e3f

Browse files
committed
Removed unneeded check.
1 parent 6188cbf commit d869e3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/stats.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Stats.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ var Stats = function () {
147147
prevTime = time;
148148
frames = 0;
149149

150-
if ( mem !== undefined && self.performance ) {
150+
if ( mem !== undefined ) {
151151

152152
var heapSize = performance.memory.usedJSHeapSize;
153153
var heapSizeLimit = performance.memory.jsHeapSizeLimit;

0 commit comments

Comments
 (0)