diff --git a/LICENSE b/LICENSE index aa453f47..11964202 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2010-2011 Three.js Authors. All rights reserved. +Copyright (c) 2010-2011 three.js Authors. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 82546fc0..2dda33c1 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ This code creates a camera, then creates a scene object, adds a bunch of random function animate() { + // 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 ) {