gecko detection

This commit is contained in:
mourner 2010-09-21 18:36:33 +03:00
parent 9dce546858
commit 1844c1156d

View File

@ -9,6 +9,7 @@
ie6: ie && !window.XMLHttpRequest, ie6: ie && !window.XMLHttpRequest,
webkit: webkit, webkit: webkit,
webkit3d: webkit && ('WebKitCSSMatrix' in window) && ('m11' in new WebKitCSSMatrix()), webkit3d: webkit && ('WebKitCSSMatrix' in window) && ('m11' in new WebKitCSSMatrix()),
mobileWebkit: webkit && mobile mobileWebkit: webkit && mobile,
gecko: ua.indexOf("gecko") != -1
}; };
})(); })();