Created
May 23, 2019 12:25
-
-
Save magne4000/33996601f34418b0a40e3a8c94c70a55 to your computer and use it in GitHub Desktop.
Inject stats.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){var script=document.createElement('script');script.onload=function(){var stats=new Stats();document.body.appendChild(stats.dom);requestAnimationFrame(function loop(){stats.update();requestAnimationFrame(loop)});};script.src='https:////mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment