From 1b71f881c9c0008a8f739b26ce78bf2432775619 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Thu, 15 Nov 2018 12:32:59 -0800 Subject: [PATCH] README: Updated bookmarklet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a73c4fb..7c9be75 100644 --- a/README.md +++ b/README.md @@ -47,5 +47,5 @@ requestAnimationFrame( animate ); You can add this code to any page using the following bookmarklet: ```javascript -javascript:(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='//rawgit.com/mrdoob/stats.js/master/build/stats.min.js';document.head.appendChild(script);})() +javascript:(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='//mrdoob.github.io/stats.js/build/stats.min.js';document.head.appendChild(script);})() ```