1(function(){ 2 var script_list = [ 3 'common.js', 4 ]; 5 6 var refs_js = function() { 7 var scripts = document.querySelector('script[src$="import.js"]'); 8 var match = scripts.src.match(/(^|.*\/)import\.js$/); 9 return match ? match[1] : '/js/' /* default */; 10 } 11 12 for (var i = 0, len = script_list.length; i < len; i++) { 13 var script = document.createElement('script'); 14 script.src = refs_js()+script_list[i]; 15 script.setAttribute('defer', 'defer'); 16 document.body.appendChild(script); 17 } 18})();
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.