Browse Source

WebVR.js: Removed unused variable.

Mr.doob 7 năm trước cách đây
mục cha
commit
aa89fedd48
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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';