Explorar o código

WebVR.js: Removed unused variable.

Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
aa89fedd48
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      examples/js/vr/WebVR.js

+ 0 - 4
examples/js/vr/WebVR.js

@@ -128,12 +128,8 @@ var WEBVR = {
 
 		}
 
-		var isWebXR = false;
-
 		if ( 'xr' in navigator ) {
 
-			isWebXR = true;
-
 			var button = document.createElement( 'button' );
 			button.style.display = 'none';
 

粤ICP备19079148号