浏览代码

WebVR.js: Removed unused variable.

Mr.doob 7 年之前
父节点
当前提交
aa89fedd48
共有 1 个文件被更改,包括 0 次插入4 次删除
  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';