this is a problem with collection.add and collection.remove because there are cases where model.save() and model.destroy() are called and they execute asynchronous code so it's difficult to return a value.
For collection.remove i think that it should return an array of remove models (like when calling remove on an observable array) whiel for 'collection.add' I have no idea
this is a problem with
collection.add
andcollection.remove
because there are cases wheremodel.save()
andmodel.destroy()
are called and they execute asynchronous code so it's difficult to return a value.For
collection.remove
i think that it should return an array of remove models (like when calling remove on an observable array) whiel for 'collection.add' I have no idea