Phantomjs does not have requestAnimationFrame
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (!window.requestAnimationFrame) {
|
||||
return;
|
||||
}
|
||||
|
||||
var fpsElement = document.createElement('span');
|
||||
fpsElement.style.color = 'white';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user