1$(document).ready(function() { 2 3 $('.contrast.icon').click(function(e){ 4 e.preventDefault(); 5 6 if ( $('body').hasClass('contrast') ){ 7 var state = 'unset'; 8 }else{ 9 state = 'set'; 10 } 11 12 $.ajax({ 13 url: contrast_ajax_obj.ajaxurl, 14 data: { 15 'action' : 'contrast_ajax_request', 16 'state' : state 17 }, 18 dataType:"json", 19 20 success:function(data) { 21 $('body').toggleClass('contrast'); 22 }, 23 24 error: function(errorThrown){ 25 console.log(errorThrown); 26 } 27 }); 28 }); 29 30 31});
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.