I has a view with this event:
var View = Backbone.View.extend({
el: $('#test'),
events: {
"change input": "test"
},
test: function(e) {
console.log("test");
}
});
var view = new View();
With backbone 0.9.9 it work, but with backbone 0.9.10 I got this error: Uncaught TypeError: Object [object Object] has no method 'off'. What I need to change to work with events on backbone 0.9.10?
I'm using this cdn's
http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.10/backbone-min.js
Thanks