1(function( jQuery ) { 2 var matched, 3 userAgent = navigator.userAgent || ""; 4 5 // Use of jQuery.browser is frowned upon. 6 // More details: http://api.jquery.com/jQuery.browser 7 // jQuery.uaMatch maintained for back-compat 8 jQuery.uaMatch = function( ua ) { 9 ua = ua.toLowerCase(); 10 11 var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || 12 /(webkit)[ \/]([\w.]+)/.exec( ua ) || 13 /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) || 14 /(msie) ([\w.]+)/.exec( ua ) || 15 ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) || 16 []; 17 18 return { 19 browser: match[ 1 ] || "", 20 version: match[ 2 ] || "0" 21 }; 22 }; 23 24 matched = jQuery.uaMatch( userAgent ); 25 26 jQuery.browser = {}; 27 28 if ( matched.browser ) { 29 jQuery.browser[ matched.browser ] = true; 30 jQuery.browser.version = matched.version; 31 } 32 33 // Deprecated, use jQuery.browser.webkit instead 34 // Maintained for back-compat only 35 if ( jQuery.browser.webkit ) { 36 jQuery.browser.safari = true; 37 } 38 39}( jQuery ));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.