1//Ext.ns('Ext.example'); 2 3Ext.msg = function(title, format){ 4 if(!this.msgCt){ 5 this.msgCt = Ext.core.DomHelper.insertFirst(document.body, {id:'msg-div'}, true); 6 } 7 this.msgCt.alignTo(document, 't-t'); 8 var s = Ext.String.format.apply(String, Array.prototype.slice.call(arguments, 1)); 9 var m = Ext.core.DomHelper.append(this.msgCt, {html:'<div class="msg"><h3>' + title + '</h3><p>' + s + '</p></div>'}, true); 10 11 m.slideIn('t').pause(3000).ghost('t', {remove:true}); 12};
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.