1$(document).on('click', 'div[data-uil-social-network-auth__icon-click] a', function () { 2 var $link = $(this), 3 $body = $(document.body), 4 fader_id = 'social-network-auth-fader'; 5 6 $body.append('<div id="' + fader_id + '" style="display: none"></div>'); 7 var $fader = $('#' + fader_id); 8 9 $fader 10 .css({ 11 'position': 'fixed', 12 'display': 'block', 13 'top': 0, 14 'left': 0, 15 'width': '100%', 16 'height': '100%', 17 'background': '#ffffff', 18 'opacity': 0, 19 'z-index': 9999 20 }) 21 .animate({'opacity': '.5'}); 22 23 var attr = 'data-uil-social-network-auth__get-token-url'; 24 $.ajax({ 25 type: 'POST', 26 url: $link.closest('div[' + attr + ']').attr(attr), 27 dataType: 'json', 28 success: function (response) { 29 location.href = $link.attr('href').split('#', 1)[0] + response.token + '/'; 30 }, 31 complete: function (jqXHR, textStatus) { 32 if (textStatus !== 'success') 33 $fader.animate({'opacity': '0'}, function () { 34 $(this).remove(); 35 }); 36 } 37 }); 38 39 return false; 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.