todomvc
Version:
> Helping you select an MV\* framework
24 lines (22 loc) • 522 B
JavaScript
/**
* @author Mike Britton
*
* @class PrepViewCommand
* @link https://github.com/PureMVC/puremvc-js-demo-todomvc.git
*/
puremvc.define ({
name: 'todomvc.controller.command.PrepViewCommand',
parent: puremvc.SimpleCommand
},
// INSTANCE MEMBERS
{
/**
* Register Mediators with the View
* @override
*/
execute: function (note) {
this.facade.registerMediator( new todomvc.view.mediator.TodoFormMediator() );
this.facade.registerMediator( new todomvc.view.mediator.RoutesMediator() );
}
}
);