   else
     createDocumentUsingWrite html
 
+
 installClickHandlerLast = (event) ->
   unless event.defaultPrevented
     document.removeEventListener 'click', handleClick


ignoreClick = (event, link) ->
  crossOriginLink(link) or anchoredLink(link) or nonHtmlLink(link) or
  noTurbolink(link)  or nonStandardClick(event)


browserSupportsPushState =

  document.addEventListener 'click', installClickHandlerLast, true

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