1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Merge pull request #6 from rvagg/mozilla

jQuery compatibility: 'mozilla' for FF
This commit is contained in:
Dustin Diaz 2011-10-15 03:19:58 -07:00
commit 62961a5c3b

View File

@ -71,6 +71,7 @@
if (gecko) { if (gecko) {
var o = { var o = {
gecko: t gecko: t
, mozilla: t
, version: ua.match(/firefox\/(\d+(\.\d+)?)/i)[1] , version: ua.match(/firefox\/(\d+(\.\d+)?)/i)[1]
} }
if (firefox) o.firefox = t if (firefox) o.firefox = t