1 2 $('.retrina-subscribe-186 .retrina-subscribe-button-wrapper').click(function(){ 3 $.ajax({ 4 url: 'index.php?route=extension/retrinabuilder/modules/retrinasubscribewidget/addSubscribe', 5 dataType: 'json', 6 type: 'post', 7 data: {email: $('.retrina-subscribe-186 .email').val()}, 8 success: function(json) { 9 if(json['error']){ 10 if(json['error']['email']){ 11 $('.retrina-subscribe-alert-186').html('<span class="text-danger">'+ json['error']['email'] +''); 12 } 13 if(json['error']['exists']){ 14 $('.retrina-subscribe-alert-186').html('<span class="text-danger">'+ json['error']['exists'] +''); 15 } 16 } 17 18 if(json['success']){ 19 $('.retrina-subscribe-alert-186').html('<span class="text-success">'+ json['success'] +''); 20 21 $('.retrina-subscribe-186 .email').val(''); 22 } 23 }, 24 error: function(xhr, ajaxOptions, thrownError) { 25 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 26 } 27 }); 28 }); 29
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.