1jQuery(document).ready(function ($) { 2 3 //Amazon Review 4 var amazon_review_ajax = function () { 5 var target_html = $('#review-box-amazon-review'); 6 var productcode = $('input[name="review-box-productcode"]').val(); 7 $.ajax({ 8 type: 'POST', 9 url: ajaxurl, 10 data: { 11 'action': 'amazon_review_ajax', 12 'productcode': productcode 13 } 14 }) 15 .done(function (response) { 16 if (response.toString().length > 0) { 17 target_html.html(response); 18 target_html.css({opacity: '0'}).animate({opacity: '1'}, 1000); 19 target_html.css({display: ''}); 20 21 //media-warpã®é«ããå¤ãããªãã®ã§å¼·å¶çã«ãªãµã¤ãºã¤ãã³ããå®è¡ãã¦æ´æ°ãã 22 setTimeout(function () { 23 $(window).trigger('resize'); 24 }, 10); 25 } 26 }) 27 .fail(function (error) { 28 console.log('error'); 29 }); 30 } 31 amazon_review_ajax(); 32 33 //èªæ¸ã¡ã¼ã¿ã¼ 34 var dokusho_meter_ajax = function () { 35 var target_html = $('#review-box-dokusho-meter'); 36 var productcode = $('input[name="review-box-productcode"]').val(); 37 $.ajax({
38 type: 'POST', 39 url: ajaxurl, 40 data: { 41 'action': 'dokusho_meter_ajax', 42 'productcode': productcode 43 } 44 }) 45 .done(function (response) { 46 if (response.toString().length > 0) { 47 target_html.html(response); 48 target_html.css({opacity: '0'}).animate({opacity: '1'}, 1000); 49 target_html.css({display: ''}); 50 51 //spanãå ¥ãã èªè ã¡ã¼ã¿ 52 $('.comment .triangle-mark').parents('li').find('p.comment').each(function(){ 53 $text = $(this).text(); 54 if($(this).text().length <=110){ 55 $(this).find('.triangle-mark').parent('span').addClass('shortText'); 56 }else{ 57 $text = $text.replace('ç¶ããèªãâ¼',''); 58 topText = $text.slice(0, 110); 59 bottomText = $text.slice(110) 60 $(this).html(topText+'<span class="hiddenText">'+bottomText+'</span><span class="longText">ç¶ããèªã<span class="triangle-mark">â¼</span></span>'); 61 } 62 }); 63 $(".recommended-points-beginning").find('.triangle-mark').parent('span').addClass('shortText'); 64 65 //media-warpã®é«ããå¤ãããªãã®ã§å¼·å¶çã«ãªãµã¤ãºã¤ãã³ããå®è¡ãã¦æ´æ°ãã 66 setTimeout(function () { 67 $(window).trigger('resize'); 68 }, 10); 69 } 70 }) 71 .fail(function (error) { 72 console.log('error'); 73 }); 74 } 75 dokusho_meter_ajax(); 76});
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.