mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-15 20:25:07 +02:00
12 lines
336 B
HTML
12 lines
336 B
HTML
<script>
|
|
var configs = document.querySelectorAll('script[data-config]');
|
|
var pre = document.body.getElementsByTagName('pre')[0];
|
|
|
|
[].forEach.call(configs, function(config) {
|
|
if(pre){
|
|
pre.innerHTML +=
|
|
config.innerHTML.replace('<', '<').replace('>', '>');
|
|
}
|
|
});
|
|
</script>
|