1/* To avoid CSS expressions while still supporting IE 7 and IE 6, use this script */ 2/* The script tag referencing this file must be placed before the ending body tag. */ 3 4/* Use conditional comments in order to target IE 7 and older: 5 <!--[if lt IE 8]><!--> 6 <script src="ie7/ie7.js"></script> 7 <!--<![endif]--> 8*/ 9 10(function() { 11 function addIcon(el, entity) { 12 var html = el.innerHTML; 13 el.innerHTML = '<span style="font-family: \'yelo-web-font-new\'">' + entity + '</span>' + html; 14 } 15 var icons = { 16 'yfn-controls-1': '', 17 'yfn-clock': '', 18 'yfn-left-arrow': '', 19 'yfn-reward_icon': '', 20 'yfn-locationNew': '', 21 'yfn-phoneNew': '', 22 'yfn-group_4': '', 23 'yfn-group_5': '', 24 'yfn-group_copy': '', 25 'yfn-addMoney': '', 26 'yfn-addWallet': '', 27 'yfn-failedTran': '', 28 'yfn-receiveMoney': '', 29 'yfn-sendWallet': '', 30 '0': 0 31 }, 32 els = document.getElementsByTagName('*'), 33 i, c, el; 34 for (i = 0; ; i += 1) { 35 el = els[i]; 36 if(!el) { 37 break; 38 } 39 c = el.className; 40 c = c.match(/yfn-[^\s'"]+/); 41 if (c && icons[c[0]]) { 42 addIcon(el, icons[c[0]]); 43 } 44 } 45}());
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.