Re:Backbone.js 0.5.0 Released (with pushState)
by bphogan on Friday July 01, 2011 @09:02PM
(#2720742)
I'd just like to see a little better documentation on this in the Backbone docs. The documentation you currently have says I'll need to alter the backend, but it's not exactly clear what the changes to the backend would need to be. Do I need to implement /new and /edit on my server to make Backbone's pushSate work, or do I need them implemented to provide for a graceful fallback? It's a little confusing as written so I had to just code something up to see what happened.
[ Parent
| on HN ]
Re:Backbone.js 0.5.0 Released (with pushState)
by jashkenas on Friday July 01, 2011 @09:24PM
(#2720764)
Thanks for the tip. How does this look to you?
https://github.com/documentcloud/backbone/commit/3a56d366865...