susi-forge
Version:
16 lines (13 loc) • 322 B
JavaScript
ControllerFactory.create('content', {
init: function () {
this.cardsController = ControllerFactory.get('cards');
this._init();
},
update: function () {
this.cardsController.update();
this._update();
},
render: function (vars) {
return this.cardsController.renderAt($('#content'));
},
});