todomvc
Version:
> Helping you select an MV\* framework
23 lines (21 loc) • 430 B
JavaScript
/**
* @author Mike Britton
*
* @class PrepModelCommand
* @link https://github.com/PureMVC/puremvc-js-demo-todomvc.git
*/
puremvc.define({
name: 'todomvc.controller.command.PrepModelCommand',
parent: puremvc.SimpleCommand
},
// INSTANCE MEMBERS
{
/**
* Register Proxies with the Model
* @override
*/
execute: function(note) {
this.facade.registerProxy( new todomvc.model.proxy.TodoProxy() );
}
}
);