From 5d39a4d183ec23be2102a4765d81023be345d265 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 29 Nov 2016 17:24:45 -0800 Subject: [PATCH] Object3D: Clean up. --- src/core/Object3D.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/Object3D.js b/src/core/Object3D.js index fe4fb5bf52..5f7cb0db90 100644 --- a/src/core/Object3D.js +++ b/src/core/Object3D.js @@ -93,8 +93,8 @@ function Object3D() { this.userData = {}; - this.onBeforeRender = function(){}; - this.onAfterRender = function(){}; + this.onBeforeRender = function () {}; + this.onAfterRender = function () {}; } @@ -308,7 +308,7 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, { } - if ( (object && object.isObject3D) ) { + if ( ( object && object.isObject3D ) ) { if ( object.parent !== null ) { -- GitLab