1$(document).ready(function(){ 2 $('#topBar .item').fadeOut(0); 3 $('#topBar .item.active').fadeIn(0); 4 $('#topBar .arrow-left').bind('click',function(){ 5 var _SOURCE = $(this).closest('#topBar'); 6 var ACT = parseFloat(_SOURCE.attr("data-tact")); 7 if(ACT==0){ 8 ACT = 2; 9 }else{ 10 ACT = ACT - 1; 11 } 12 _SOURCE.attr("data-tact",ACT); 13 $('#topBar .item.active').fadeOut(300).removeClass('active'); 14 $($('#topBar .item')[ACT]).fadeIn(300).addClass('active'); 15 16 }); 17 $('#topBar .arrow-right').bind('click',function(){ 18 var _SOURCE = $(this).closest('#topBar'); 19 var ACT = parseFloat(_SOURCE.attr("data-tact")); 20 if(ACT==2){ 21 ACT = 0; 22 }else{ 23 ACT = ACT + 1; 24 } 25 _SOURCE.attr("data-tact",ACT); 26 $('#topBar .item.active').fadeOut(300).removeClass('active'); 27 $($('#topBar .item')[ACT]).fadeIn(300).addClass('active'); 28 29 }); 30 31 $('[data-role="languages"]').on('click',function(){ 32 if($('language-selector').hasClass('show')){ 33 $('language-selector').removeClass('show'); 34 }else{ 35 $('language-selector').addClass('show'); 36 } 37 }); 38 39 $(document).bind('click',function(e){ 40 if($(e.target).closest('[data-role="languages"]').length == 0 && $(e.target).closest('language-selector').length == 0){ 41 if($('language-selector').hasClass('show')){ 42 $('language-selector').removeClass('show'); 43 } 44 } 45 }); 46});
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.