mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
remove of object.constructor
This commit is contained in:
parent
271cba918a
commit
880a802483
@ -18,10 +18,10 @@ import Controller from './Controller';
|
||||
* @param {string} property
|
||||
*/
|
||||
class CustomController extends Controller{
|
||||
constructor(object, property) {
|
||||
super(object, property);
|
||||
constructor(init) {
|
||||
super({});
|
||||
|
||||
object.constructor( this );
|
||||
init( this );
|
||||
this.custom = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user