Explorar o código

Added var to Detector.js

alteredq %!s(int64=13) %!d(string=hai) anos
pai
achega
07fc79d788
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/Detector.js

+ 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; } } )(),