Closes #3496. I moved some of the documentation for Collection.add to Collection.set and added documentation on sorting, so that the latter now gives a complete overview of the options, return value and events. I added a reference from Collection.add to Collection.set and from Collection.{push,unshift} to Collection.add, clarifying how these methods differ from each other.
No, I don't see "vivified" very often, either. I just moved it from the add section to the set section; I suppose @jashkenas wrote that in one of his poetic moments.
Closes #3496. I moved some of the documentation for
Collection.add
toCollection.set
and added documentation on sorting, so that the latter now gives a complete overview of the options, return value and events. I added a reference fromCollection.add
toCollection.set
and fromCollection.{push,unshift}
toCollection.add
, clarifying how these methods differ from each other.The updated documentation can be previewed here: https://cdn.statically.io/gh/jgonggrijp/backbone/document-add-push-unshift/index.html.