1function createBreakpoints(element, arr) { 2 var containerWidth = element.width(); 3 if(typeof element.attr('class') !== 'undefined') { 4 element.attr('class', function(i,c){ 5 return c.replace(/(^|\s)breakpoint-\S+/g, ''); 6 }); 7 } 8 9 for(i = 0; i < arr.length; i++) { 10 if(containerWidth <= arr[i]) { 11 element.addClass('breakpoint-max-' + arr[i]); 12 } else { 13 element.addClass('breakpoint-min-' + arr[i]); 14 } 15 } 16}
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.