Some notes on resolving Back button issue in backbone.js
This is mildly useful because it displays the transitions from current route to the next route. It is disappointing that not only hitting the back button triggers popState.
window.addEventListener('popstate', (e) ->
sendTo = Backbone.history.getFragment()
# console.log("sendTo: " + sendTo)
console.debug('popstate', Backbone.history.fragment, '>', Backbone.history.getFragment());