alteredq пре 13 година
родитељ
комит
07fc79d788
1 измењених фајлова са 1 додато и 1 уклоњено
  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; } } )(),