ejci/favico.js — pull request #32 by joeellis (2014-01-15 19:23:56+00:00)
Title: use feature detection for browsers, make _browser.supported public

Changed the browser detection to use feature detection over regexs. Also added in a detection for safari for later support.

Also made the _browser.supported variable public because on my current project, we were needing to handle two separate types of favicons depending on the browser. As this lib already had it's own array for supported browsers, I thought it'd be more useful to ask the lib what it supports rather than having my own duplicate browser detection code. `browser.supported` was the current key I'm going with, although I'm not married to that if you would rather a different structure.