diff --git a/README.md b/README.md index 151212fc..2dda33c1 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,8 @@ This code creates a camera, then creates a scene object, adds a bunch of random function animate() { - requestAnimationFrame( animate ); // Include examples/js/RequestAnimationFrame.js for cross-browser compatibility. + // Include examples/js/RequestAnimationFrame.js for cross-browser compatibility. + requestAnimationFrame( animate ); render(); } diff --git a/examples/js/Detector.js b/examples/js/Detector.js index 0dc35f0c..55c10fa9 100644 --- a/examples/js/Detector.js +++ b/examples/js/Detector.js @@ -26,12 +26,12 @@ Detector = { var html = [ - 'Sorry, your browser doesn\'t support WebGL
', - '
', - 'Please try with', - 'Chrome 9+ /', - 'Firefox 4+ /', - 'Safari OSX 10.6+' + 'Sorry, your browser doesn\'t support WebGL
', + '
', + 'Please try with', + 'Chrome 9+ /', + 'Firefox 4+ /', + 'Safari 10.6+' ].join("\n"); diff --git a/examples/js/RequestAnimationFrame.js b/examples/js/RequestAnimationFrame.js index 30b309ae..5b29c56b 100644 --- a/examples/js/RequestAnimationFrame.js +++ b/examples/js/RequestAnimationFrame.js @@ -1,6 +1,6 @@ /** * Provides requestAnimationFrame in a cross browser way. - * @author paulirish / http://paulirish.com/ + * http://paulirish.com/2011/requestanimationframe-for-smart-animating/ */ if ( !window.requestAnimationFrame ) {