3 ms·
Changelog: 1.0.0 — March 20, 2013 Renamed Collection's "update" to set, for parallelism with the similar model.set(), and contrast with reset. It's now t
by quarterto 14y ago
Changelog:
1.0.0 — March 20, 2013
Renamed Collection's "update" to set, for parallelism with the similar model.set(), and contrast with reset. It's now the default updating mechanism after a fetch. If you'd like to continue using "reset", pass {reset: true}.
Your route handlers will now receive their URL parameters pre-decoded.
Added listenToOnce as the analogue of once.
Added the findWhere method to Collections, similar to where.
Added the keys, values, pairs, invert, pick, and omit Underscore.js methods to Backbone Models.
The routes in a Router's route map may now be function literals, instead of references to methods, if you like.
url and urlRoot properties may now be passed as options when instantiating a new Model.