tombigel/detect-zoom — pull request #54 by willsp (2014-09-18 21:34:39+00:00)
Title: Use Feature Detection instead of Browser Sniffing

While the previous implementation used feature detection, it was using
it wrong. It was, essentially using feature detection as a more advanced
browser sniffer.

* Updated this to detect the features actually being used to measure
zoom.
* Moved the functions to the same place as the checks, to make it
easier to keep the 2 connected.
* Made some adjustments so it passes jshint.
* This fixes a bug with iOS8 Safari.