1var conversion_base = { 2 //Ðог ÑобÑÑий 3 log:{}, 4 //ÐнинÑиализаÑÐ¸Ñ 5 init:function(description_id){ 6 if(this.log[description_id] == undefined){ 7 this.log[description_id] = {}; 8 } 9 }, 10 //Ðобавление конвеÑÑии 11 addConversion:function(description_id, type){ 12 13 if(!_.isUndefined(this.log[description_id]) && _.isUndefined(this.log[description_id][type])){ 14 this.log[description_id][type] = true; 15 var send_data = { 16 'description_id': description_id, 17 'type': type 18 }; 19 $.ajax({ 20 url:'index.php?route=extension/d_visual_designer_module/conversion/addConversion', 21 type:'post', 22 dataType:'json', 23 data: send_data, 24 success: function(json){ 25 console.log(json); 26 } 27 }); 28 } 29 }, 30 //Ðобавление конвеÑÑии пÑодажи 31 addConversionBuy:function(description_id, product_id){ 32 33 if(!_.isUndefined(this.log[description_id]) && _.isUndefined(this.log[description_id]['buy'])){ 34 this.log[description_id]['buy'] = true; 35 var send_data = { 36 'description_id': description_id, 37 'product_id': product_id 38 }; 39 $.ajax({ 40 url:'index.php?route=extension/d_visual_designer_module/conversion/addConversionBuy', 41 dataType:'json', 42 type:'post', 43 data:send_data 44 }); 45 } 46 }, 47}
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.