Open Joc-Ne opened 2 years ago
var index = this.indexOf(model); returns always -1 var index = this.models.indexOf(model) returns the right result
@Joc-Ne Thanks for reporting. Could this be a duplicate of #3882 and if so, does upgrading to Backbone 1.4.1 solve the issue for you? Otherwise, please provide a bit more context.
var index = this.indexOf(model); returns always -1 var index = this.models.indexOf(model) returns the right result