mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Fixes #1929 -- clarify the change to 'parse' behavior
This commit is contained in:
@@ -3905,8 +3905,10 @@ ActiveRecord::Base.include_root_in_json = false
|
||||
supports lookup by both <tt>id</tt> and <tt>cid</tt>.
|
||||
</li>
|
||||
<li>
|
||||
The <tt>parse</tt> function is now always run if defined, for both
|
||||
collections and models — not only after an Ajax call.
|
||||
After fetching a model or a collection, <i>all</i> defined <tt>parse</tt>
|
||||
functions will now be run. So fetching a collection and getting back new
|
||||
models could cause both the collection to parse the list, and then each model
|
||||
to be parsed in turn, if you have both functions defined.
|
||||
</li>
|
||||
<li>
|
||||
Bugfix for normalizing leading and trailing slashes in the Router
|
||||
|
||||
Reference in New Issue
Block a user