From 93fa18d9ce9fa70877c1364bb537cb79f677adce Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Fri, 21 Jun 2019 13:49:59 +0200 Subject: [PATCH] Fix travis build --- src/renderers/WebGLRenderer.js | 4 +++- src/scenes/Scene.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/renderers/WebGLRenderer.js b/src/renderers/WebGLRenderer.js index 431bb284df..4bbdf39aad 100644 --- a/src/renderers/WebGLRenderer.js +++ b/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 + } } diff --git a/src/scenes/Scene.js b/src/scenes/Scene.js index 186769dc4a..98352b694b 100644 --- a/src/scenes/Scene.js +++ b/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 + } } -- GitLab