diff --git a/src/dat/controllers/CustomController.js b/src/dat/controllers/CustomController.js index fe82583..819610b 100644 --- a/src/dat/controllers/CustomController.js +++ b/src/dat/controllers/CustomController.js @@ -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; } }