1HistoryManager=function(mngid) 2{ 3 this.id=mngid; 4 this.linklist = {}; 5 this.addEntry=HistoryManager_addEntry; 6 this.executeEntry=HistoryManager_executeEntry; 7 this.numberItems = 0; 8 // No-op kept for HTML pages cached before CUST-EF-10, whose inline 9 // bootstrap still calls window.historymanager.init("yui-history-field", 10 // "yui-history-iframe") (Sentry ALUMNFORCE-WWW-7HC). Drop once those 11 // cached pages have expired. 12 this.init = function () {}; 13} 14 15HistoryManager_executeEntry=function(state) 16{ 17 if (state != null && state != "none" && state != window.historymanager.lastloaded) { 18 var id = window.historymanager.linklist[state]; 19 var pl=getCustomTag(id); 20 if (pl!=null) { 21 pl.doPost(); 22 return true; 23 } 24 } 25 return false; 26} 27 28HistoryManager_addEntry=function(linkid,value) 29{ 30 if (!this.linklist[value]) { 31 this.linklist[value] = linkid; 32 this.numberItems++; 33 } 34 35 if (this.numberItems == 5) { 36 var newLinkList = {}; 37 var iter = 1; 38 var self = this; 39 jQuery.each(this.linklist, function(index, link) 40 { 41 if (iter == (self.numberItems)) { 42 newLinkList[index] = link; 43 } 44 iter++; 45 }); 46 this.linklist = newLinkList; 47 this.numberItems = 1; 48 } 49}
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.