PageSourceSearch

https://www.inovacne.sk/wp-content/cache/min/1/wp-content/themes/thegem/js/jquery.restable.js?ver=1790854225

js inovacne.sk collected 2026-10-01 23:48:03 UTC 1,781 bytes, 7 lines download raw bytes

1/*! ReStable v0.1.1 by Alessandro Benoit */
2(function($,window,i){'use strict';$.fn.ReStable=function(options){var s=$.extend({rowHeaders:!0,maxWidth:480},options);function create_responsive_table(element,i){var $cols=[],$result={},$cols_header=$(element).find('tr').first().children('td,th'),$row_number=0,$list;if(s.rowHeaders){$cols_header=$cols_header.slice(1)}
3$cols_header.each(function(){$cols.push($(this).text())});$(element).find('tr').slice(1).each(function(){var $row=$(this);$row_number+=1;$.each($cols,function(index,value){index+=1;if(s.rowHeaders){if(!$result[value]){$result[value]={}}
4$result[value][$row.children('td:nth-child(1)').html()]=$row.children('td:nth-child('+(index+1)+')').html()}else{if(!$result[$row_number]){$result[$row_number]={}}
5$result[$row_number][value]=$row.children('td:nth-child('+index+')').html()}})});$list=$('<ul/>',{class:'tabletolist '+((s.rowHeaders)?'rh':'nrh'),id:'tabletolist'+i}).insertBefore($(element));$.each($result,function(index,value){var $myrow=$('<li/>',{html:(s.rowHeaders)?'<span class="titles">'+index+'</span>':''}).appendTo($list),$myrowul=$('<ul/>').appendTo($myrow);$.each(value,function(index,value){$('<li/>',{html:'<span class="row_headers">'+index+'</span> <span class="row_data">'+value+'</span>'}).appendTo($myrowul)})});return $list}
6this.each(function(){var element=$(this),responsive_table;i+=1;function handle_table(){if($(window).width()>parseInt(s.maxWidth,10)){$(element).show();if(responsive_table){$(responsive_table).hide()}}else{$(element).hide();if(responsive_table){$(responsive_table).show()}else{responsive_table=create_responsive_table(element,i)}}}
7handle_table();$(window).resize(function(){handle_table()})})};$.ReStable=function(options){$('table').ReStable(options)}})(jQuery,this,0)

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.