0
내가보기백본 이벤트는
app.View.FriendRequestButtonView = Backbone.View.extend({
initialize: function() {
this.set(a, b, c);
app.on('foo', this.reject, this);
app.on('boo', this.accept, this);
},
reject: function(){
this.set(false, false, false);
},
accept: function(){
this.set(true, false, false);
},
set: function (a, b, c){
if(!a && b && c){
this.events = {
"click .cancel": "dosomething"
};
this.render();
}
}
........
}
있습니다. 내가 뭘 잘못하고있어?