TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Backbone.js 1.1 is out

110 pointsby calebgilbertover 11 years ago

3 comments

bratscheover 11 years ago
For anyone who&#x27;s looking for the changelog, it&#x27;s at the bottom of the page so it&#x27;s easy to miss.<p>* Made the return values of Collection&#x27;s set, add, remove, and reset more useful. Instead of returning this, they now return the changed (added, removed or updated) model or list of models.<p>* Backbone Views no longer automatically attach options passed to the constructor as this.options, but you can do it yourself if you prefer.<p>* All &quot;invalid&quot; events now pass consistent arguments. First the model in question, then the error object, then options.<p>* You are no longer permitted to change the id of your model during parse. Use idAttribute instead.<p>* On the other hand, parse is now an excellent place to extract and vivify incoming nested JSON into associated submodels.<p>* Many tweaks, optimizations and bugfixes relating to Backbone 1.0, including URL overrides, mutation of options, bulk ordering, trailing slashes, edge-case listener leaks, nested model parsing...
评论 #6531309 未加载
评论 #6532665 未加载
评论 #6532705 未加载
评论 #6531791 未加载
visargaover 11 years ago
How is Backbone faring against AngularJS these days ?
评论 #6531773 未加载
评论 #6531506 未加载
评论 #6531628 未加载
评论 #6532689 未加载
评论 #6531511 未加载
评论 #6531598 未加载
评论 #6531475 未加载
sidcoolover 11 years ago
No direct link to Change log. :(
评论 #6532739 未加载