1function loadStyle(src) { 2 return new Promise(function (resolve, reject) { 3 4 5 6 let link = document.createElement('link'); 7 link.href = src; 8 link.rel = 'stylesheet'; 9 10 link.onload = () => resolve(link); 11 link.onerror = () => reject(new Error(`Style load error for ${src}`)); 12 13 document.head.append(link); 14 }); 15}
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.