view = new ListView(model, {
'list' : $('#list'),
'addButton' : $('#plusBtn'),
'delButton' : $('#minusBtn')
}),
controller = new ListController(model, view);
view.show();
});
<select size="10"></select><br/>
<button> + </button>
<button> - </button>
您可能感兴趣的文章: