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
*/
class CustomController extends Controller{
constructor(init) {
super({});
constructor(init) {
super({});
init( this );
init( this );
this.custom = true;
}
}

View File

@ -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