1// general extension functions 2(function () { 3 String.format = function() { 4 var s = arguments[0]; 5 var i,len=arguments.length - 1; 6 for (i = 0; i < len; i++) { 7 var reg = new RegExp("\\{" + i + "\\}", "gm"); 8 s = s.replace(reg, arguments[i + 1]); 9 } 10 return s; 11 }; 12})(); 13 14// initialize app 15jQuery(document).ready(function () { 16 app.init(); 17});
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.