Closed sebdeckers closed 12 years ago
Thanks for this. I'm planning on changing the logic of this section soon to just detect for hashes. That should make it significantly easier.
Oh my app URLs don't use hashes so the current logic is sufficient. I use an Nginx try_files redirect to index.html to preserve clean URLs (downside: need to handle 404's client-side which is not very nice HTTP-wise).
Doesn't matter. I'm only using it for route indication. Backbone will automatically convert from hash to pushState.
Okay will see how it evolves :) Thanks for this awesome library, and the Backbone module pattern is great too!
Fixes the click-intercepting to check the correct part of the URL.