1// Browser detection for when you get desparate. 2// http://rog.ie/post/9089341529/html5boilerplatejs 3 4// var b = document.documentElement; 5// b.setAttribute('data-useragent', navigator.userAgent); 6// b.setAttribute('data-platform', navigator.platform); 7 8// sample CSS: html[data-useragent*='Chrome/13.0'] { ... } 9 10 11// remap jQuery to $ 12(function($){ 13 14 15/* trigger when page is ready */ 16$(document).ready(function (){ 17 18 // your functions go here 19 20}); 21 22 23/* optional triggers 24 25$(window).load(function() { 26 27}); 28 29$(window).resize(function() { 30 31}); 32 33*/ 34 35 36})(window.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.