1$(document).ready(function ($) { 2 $('.list-expanding').on('click', function () { 3 if ($(this).hasClass('btn-disabled')) return false; 4 $(this).closest('.blog-description-members').toggleClass('expand-list'); 5 }); 6 7 $('.join-blog').on('click', function (event) { 8 event.preventDefault(); 9 var $button = $(this); 10 var data = { 11 'blogId': parseInt($(this).attr('href')) 12 }; 13 data[yupeTokenName] = yupeToken; 14 $.post($(this).data('url'), data, function (response) { 15 if (response.result) { 16 $button.hide(); 17 $('#notifications').notify({ message: { text: response.data } }).show(); 18 } else { 19 $('#notifications').notify({ message: { text: response.data }, type: 'error' }).show(); 20 } 21 }, 'json'); 22 }); 23 24 $('.leave-blog').on('click', function (event) { 25 event.preventDefault(); 26 var $button = $(this); 27 var data = { 28 'blogId': parseInt($(this).attr('href')) 29 }; 30 data[yupeTokenName] = yupeToken; 31 $.post($(this).data('url'), data, function (response) { 32 if (response.result) { 33 $button.hide(); 34 $('#notifications').notify({ message: { text: response.data } }).show(); 35 } else { 36 $('#notifications').notify({ message: { text: response.data }, type: 'error' }).show(); 37 } 38 }, 'json'); 39 }); 40});
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.