From f976ef0eb2f59755aae4b7e13d784c7fb4a2e238 Mon Sep 17 00:00:00 2001 From: Andrej Date: Fri, 31 May 2019 00:54:33 +0700 Subject: [PATCH] cosmetic changes --- src/dat/controllers/CustomController.js | 6 +++--- src/dat/gui/GUI.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dat/controllers/CustomController.js b/src/dat/controllers/CustomController.js index aca26d8..6dd49d8 100644 --- a/src/dat/controllers/CustomController.js +++ b/src/dat/controllers/CustomController.js @@ -17,10 +17,10 @@ import Controller from './Controller'; * @param {init} callback function for adding of elements into this.domElement */ class CustomController extends Controller{ - constructor(init) { - super({}); + constructor(init) { + super({}); - init( this ); + init( this ); this.custom = true; } } diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index 49dbcab..7144d7b 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -561,7 +561,7 @@ common.extend( /** * Adds a new custom controller to the GUI. * - * @param object + * @param init * @param property * @returns {Controller} The controller that was added to the GUI. * @instance