2
0
alteredq 13 жил өмнө
parent
commit
07fc79d788

+ 1 - 1
examples/js/Detector.js

@@ -3,7 +3,7 @@
  * @author mr.doob / http://mrdoob.com/
  */
 
-Detector = {
+var Detector = {
 
 	canvas: !! window.CanvasRenderingContext2D,
 	webgl: ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )(),