remove of object.constructor

This commit is contained in:
Andrej 2019-05-28 09:28:14 +07:00
parent 271cba918a
commit 880a802483

View File

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