Skip to content

Commit

Permalink
replace bindTo with listenTo due to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsulc committed Jan 29, 2013
1 parent 602caeb commit 1063526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/application.js
Expand Up @@ -109,7 +109,7 @@ AngryCatView = Backbone.Marionette.ItemView.extend({
},

initialize: function(){
this.bindTo(this.model, "change:votes", this.render);
this.listenTo(this.model, "change:votes", this.render);
},

rankUp: function(){
Expand Down

0 comments on commit 1063526

Please sign in to comment.