Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 237 Bytes
'use strict';
class Controller {
assignMethods(createMethods, model, view) {
const methods = createMethods(model, view);
Object.assign(this, methods);
}
}
const controller = new Controller();
module.exports = controller;