1$(function(){ 2 $(".bit-expand-switch").click(function(e){ 3 e.preventDefault(); 4 var $this = $(this); 5 var wrapper = $this.parents('div.component-head:first'); 6 var expand = wrapper.next('div.bit-expand-area').eq(0); 7 8 if (expand.attr('data-url') != undefined && $.trim(expand.attr('data-url')) != "" && !$.trim(expand.html())) { 9 expand.html('Trwa pobieranie danych <i class="ace-icon fa fa-spinner fa-spin orange" style="font-size: 2em;"></i>'); 10 $.ajax({ 11 url: expand.attr('data-url'), 12 type: 'GET', 13 success: function(data, textStatus, jqXHR){ 14 expand.html(data); 15 return false; 16 }, 17 error: function(jqXHR, textStatus, errorThrown){ 18 expand.html('WystÄ piÅ bÅÄ d Åadowania treÅci! PrzeÅaduj stronÄ i spróbuj ponownie.'); 19 20 } 21 }); 22 } 23 expand.slideToggle(); 24 25 // zmiana ikony 26 var em = $(this).children('em'); 27 if (em.hasClass('fa-caret-square-o-down')) { 28 em.removeClass('fa-caret-square-o-down').addClass('fa-caret-square-o-up'); 29 if ($this.attr('data-bit-title-close') != undefined) { 30 $this.attr('title', $this.attr('data-bit-title-close')); 31 } 32 } 33 else if(em.hasClass('fa-caret-square-o-up')) { 34 em.removeClass('fa-caret-square-o-up').addClass('fa-caret-square-o-down'); 35 if ($this.attr('data-bit-title-open') != undefined) { 36 $this.attr('title', $this.attr('data-bit-title-open')); 37 } 38 } 39 return false; 40 }); 41});
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.