On Jan 5, 2011, at 7:18 AM, Mauro wrote:
but it seems that the new javascript api history.pushState doesn't work as well as jquery.ba-bbq.js
What are you basing this on? pushState only works in browsers that support it, so Safari and a few other cutting-edge browsers, and nothing else, IIRC. I would guess that jQuery does some work-arounds to support lots more browsers, but I'm not sure if there are libraries available yet that use the native event if available and degrade to support functions where it's not. That would be cool.
If you look at the latest Railscast about this (couple weeks ago?) it shows how to make a system that degrades nicely to regular full reloads if pushState isn't there to do the sub-page-reloads-with- history.
Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

