How to use History.js or jQuery Address for HTML5 pushState navigation
Please don't use History.js. It's not maintained and has over 100 issues. Use jQuery Address and remember to read the documentation.
Example usage:
# muy importante
$.address.state('/')
# mas importante
$.address.value(window.location.pathname + window.location.search)
# donde ocurre
$.address.change (event) ->
loadPage()
Another example:
$.address
.state('/')
.path(window.location.pathname + window.location.search)
.change (event) =>
loadPage()