소스 검색

Fix travis build

Mugen87 6 년 전
부모
커밋
93fa18d9ce
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 1
      src/renderers/WebGLRenderer.js
  2. 3 1
      src/scenes/Scene.js

+ 3 - 1
src/renderers/WebGLRenderer.js

@@ -2588,7 +2588,9 @@ function WebGLRenderer( parameters ) {
 	};
 
 	if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
-		__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) );
+
+		__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) ); // eslint-disable-line no-undef
+
 	}
 
 }

+ 3 - 1
src/scenes/Scene.js

@@ -17,7 +17,9 @@ function Scene() {
 	this.autoUpdate = true; // checked by the renderer
 
 	if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
-		__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) );
+
+		__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) ); // eslint-disable-line no-undef
+
 	}
 
 }