tonytonyjan/gistyle — pull request #3 by lulalala (2014-11-06 10:09:21+00:00)
Title: Fix for turbolinks with legacy browsers

Turbolinks will not enable itself if the browser can not support it, e.g. Internet Explorer 8.
So merely checking Turbolinks constant is not enough, we need to also check the `supported` property.

There are two commits, the first one just check `supported`. However that property is only present after Turbolinks 2.0, therefore will raise error for users of older Turbolinks.

The second commit will return true if `supported` is not there but `Turbolinks` is present, so it will work for older Turbolinks (but will still have this bug).

You can choose which one you like :)