1var Require = { 2 items: [], 3 4 include: function(items, callback) { 5 for(var i in items) { 6 this.items.push(items[i]); 7 } 8 9 if(this.items.length > 0) { 10 this.include_next(this.items, 0, callback); 11 } 12 }, 13 14 include_next: function(items, i, callback) { 15 if(items[i]) { 16 var scriptTag = document.createElement('script'); 17 scriptTag.src = items[i]; 18 19 i++; 20 21 scriptTag.onload = this.include_next(items, i, callback); 22 scriptTag.onreadystatechange = this.include_next(items, i, callback); 23 24 document.body.appendChild(scriptTag); 25 } 26 else { 27 if(typeof callback === "function") { 28 callback(); 29 } 30 } 31 } 32}
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.