diff --git a/README.md b/README.md index a73c4fb..c325a17 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This class provides a simple info box that will help you monitor your code perfo ```javascript var stats = new Stats(); stats.showPanel( 1 ); // 0: fps, 1: ms, 2: mb, 3+: custom -document.body.appendChild( stats.dom ); +document.body.appendChild( stats.domElement ); function animate() {