1var ACE_COUNTER_PARTNER = function(){ 2 var type; 3 4 var SetType = function(t){ 5 type = t; 6 }; 7 8 var AddToCart = function(id, count, check_quantity){ 9 if(type == 'mweb'){ 10 if ( typeof AM_INOUT != 'undefined' ) { 11 AM_INOUT(id,check_quantity); 12 } 13 }else{ 14 if ( typeof AW_F_D != 'undefined' ) { 15 try{ 16 AW_F_D(id,'i',count); 17 }catch(e){ 18 } 19 } 20 } 21 }; 22 23 var CompleteSearch = function(keyword){ 24 if(type == 'mweb'){ 25 var m_skey = keyword; 26 }else{ 27 var _skey = keyword; 28 } 29 }; 30 31 32 return { 33 "SetType" : function(t){ 34 SetType(t); 35 }, 36 "AddToCart" : function(id, count, check_quantity){ 37 AddToCart(id, count, check_quantity); 38 }, 39 "CompleteSearch" : function(keyword){ 40 CompleteSearch(keyword); 41 } 42 43 } 44}();
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.