1/*! loadScript to head */ 2function loadScript(url, callback) { 3 var script = document.createElement("script") 4 script.type = "text/javascript"; 5 6 if (script.readyState) { //IE 7 script.onreadystatechange = function () { 8 if (script.readyState == "loaded" || 9 script.readyState == "complete") { 10 script.onreadystatechange = null; 11 if(callback) 12 callback(); 13 } 14 }; 15 } else { //Others 16 script.onload = function () { 17 if (callback) 18 callback(); 19 }; 20 } 21 script.src = url; 22 document.getElementsByTagName("head")[0].appendChild(script); 23}
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.