Pass in useCapture flag 

This flag became optional in recent versions of browsers
Merge pull request #192 from matthieua/master

Always set addEventListener and removeEventListener useCaption flag
Add a page:received event.

For a page load that is not from the Turbolinks cache, this event
callback is triggered after page:fetch but before page:change,
specifically as soon as the XHR response body is available (in the
XHR onload handler).
page:received -> page:receive and update README
Defend against same origin XSS
Improve content-type matcher
Merge pull request #196 from reed/xss-defense

Defend against same origin XSS
block xdomain redirect

abort cross domain redirect when request from turbolinks
Merge pull request #193 from benweint/add-page-received
Update turbolinks.rb
Merge pull request #197 from mala/patch-1

block xdomain redirect
Bump version to 1.1
fix for chrome on iOS 6.1.3

In Chrome on iOS 6.1.3, calling Turbolinks.visit will fail because
browserSupportsPushState returns true, but currentState is still null
(because browserIsntBuggy returns false) and thus the cacheCurrentPage
function will fail. This one-line fix ensures that when
Turbolinks.visit is called, if either browserSupportsPushState or
browserIsntBuggy returns false, we fall back to simply setting
document.location.href.
remove .DS_Store file
Merge pull request #199 from fshowalter/master

Fix Turbolinks.visit in Chrome on iOS
Maintain CSRF authenticity token
Create changelog
Make it obvious where to listen for Turbolink events

It took me a minute to check the tests and confirm they're on `document`, may as well save people the time.
use :receive not :change
avoid creating unused results arrays

These functions are returning the results of their for comprehensions unnecessarily. Returning `undefined` ensures coffee doesn't store the results of the comprehensions, which is faster and less GC/memory intensive.