1 2var $gnav,$header; 3var currentSize,newSize; 4 5$(window).on('ready load resize',function(){ 6 7 var windowSize = window.innerWidth; 8 9 if(windowSize >= $pc){ 10 currentSize = 'pc'; 11 }else{ 12 currentSize = 'sp'; 13 } 14 15 if(currentSize != newSize){ 16 if(currentSize == 'pc'){ 17 18 $gnav = $('#gnav').remove(); 19 $header = $('#h_menu').remove(); 20 21 $('header').append($gnav); 22 $('#logo').after($header); 23 24 }else if(currentSize == 'sp'){ 25 26 $gnav = $('#gnav').remove(); 27 $header = $('#h_menu').remove(); 28 29 $('#menu_box_sp').append($gnav,$header); 30 31 } 32 currentSize = newSize; 33 } 34}); 35 36
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.