vendor: 1,003 bytes, lines 1-40
1// For compatibility with $.browser. 2(function() { 3 var matched, browser; 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( navigator.userAgent ); 25 browser = {}; 26 27 if ( matched.browser ) { 28 browser[ matched.browser ] = true; 29 browser.version = matched.version; 30 } 31 32 // Chrome is Webkit, but Webkit is also Safari. 33 if ( browser.chrome ) { 34 browser.webkit = true; 35 } else if ( browser.webkit ) { 36 browser.safari = true; 37 } 38 39 jQuery.browser = browser; 40})();
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.