1 2 3/* ë보기 ë²í¼ í´ë¦ ì´ë²¤í¸ */ 4$("#btnMoreArticle").click(function(){ 5 var sel = ".container > .MAIN_BOARD_LIST"; 6 if($(sel).length == 0) { 7 sel = ".container > .bbs-list"; 8 } 9 if($(sel).length == 0) { 10 sel = ".container > .thumb-list"; 11 } 12 13 var h = location.href; 14 15 if(h.indexOf("#") != -1) { 16 h = h.substring(0, h.indexOf("#")); 17 } 18 19 h = h.replace(/article.offset=[0-9]+/gi, ""); 20 21 if(h.indexOf("?") == -1) { 22 h = h + "?article.offset=" + $(sel).children().length; 23 } else { 24 h = h + "&article.offset=" + $(sel).children().length; 25 } 26 27 $.ajax({ 28 url: h, 29 success:function(data){ 30 var h = $(data).find(sel); 31 $(sel).append(h.html()); 32 if(h.children().length == 0) { 33 $("#btnMoreArticle").css("display", "none"); 34 } 35 } 36 }); 37 return false; 38});
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.