Evento condicional con método Add
Esto también te interesa!
PREGUNTAS SIMILARES
#2
PositionCollection = Backbone.Collection.extend ({
add: function( model, options ){
// hacer cosas aqui
Backbone.Collection.prototype.add.call(this, model);
PositionCollection = Backbone.Collection.extend ({
add: function( model, options ){
// hacer cosas aqui
Backbone.Collection.prototype.add.call(this, model);