소스 검색

navigator.mozGetVRDevices check is not necessary anymore since Firefox dropped the prefix

Diego Marcos 10 년 전
부모
커밋
407bec5fb5
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      examples/js/controls/VRControls.js

+ 0 - 4
examples/js/controls/VRControls.js

@@ -34,10 +34,6 @@ THREE.VRControls = function ( object, callback ) {
 
 		navigator.getVRDevices().then( onVRDevices );
 
-	} else if ( navigator.mozGetVRDevices !== undefined ) {
-
-		navigator.mozGetVRDevices( onVRDevices );
-
 	} else if ( callback !== undefined ) {
 
 		callback( 'Your browser is not VR Ready' );