1(function( $ ) { 2 'use strict'; 3 4 $(document).ready(function() { 5 $(document).on('click','#mwb_check_balance',function(){ 6 var email = $('#gift_card_balance_email').val(); 7 var coupon = $('#gift_card_code').val(); 8 $("#mwb_wgm_loader").show(); 9 var data = { 10 action:'mwb_wgm_check_giftcard', 11 email:email, 12 coupon:coupon, 13 mwb_nonce:mwb_check.mwb_wgm_nonce 14 }; 15 $.ajax({ 16 url: mwb_check.ajaxurl, 17 type: "POST", 18 data: data, 19 dataType :'json', 20 success: function(response) { 21 22 $("#mwb_wgm_loader").hide(); 23 if(response.result == true){ 24 var html = response.html; 25 } 26 else{ 27 var message = response.message; 28 var html = '<b style="color:red; margin-left:2%">'+message+'</b>'; 29 } 30 $("#mwb_notification").html(html); 31 } 32 }); 33 }); 34 }); 35 36})( jQuery );
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.