cosmetic changes

This commit is contained in:
Andrej 2019-05-31 00:54:33 +07:00
parent 55b4013149
commit f976ef0eb2
2 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ import Controller from './Controller';
* @param {init} callback function for adding of elements into this.domElement * @param {init} callback function for adding of elements into this.domElement
*/ */
class CustomController extends Controller{ class CustomController extends Controller{
constructor(init) { constructor(init) {
super({}); super({});
init( this ); init( this );
this.custom = true; this.custom = true;
} }
} }

View File

@ -561,7 +561,7 @@ common.extend(
/** /**
* Adds a new custom controller to the GUI. * Adds a new custom controller to the GUI.
* *
* @param object * @param init
* @param property * @param property
* @returns {Controller} The controller that was added to the GUI. * @returns {Controller} The controller that was added to the GUI.
* @instance * @instance