   document.documentElement.appendChild body, originalBody
   document.documentElement.removeChild originalBody
   document.title = title
-  historyCache[window.history.state.position] = {url:document.location.href,body:body,title:title} if cache
+  historyCache[window.history.state.position] = url: document.location.href, body: body, title: title if cache
 
 
 

    handleClick event

# Call Turbolinks.visit(url) from client code
@Turbolinks = { visit: visit }

  triggerPageChange()

reflectNewUrl = (url) ->
  window.history.pushState { turbolinks: true, position: window.history.length }, "", url



