{
path: '/',
name: 'index',
component: Index
},
{
path: '/subs',
name: 'subs',
component: Subs,
},
{
path: '/:name',
name: 'subs.page',
component: SubItem,
props: true
},
{
path: '/:name/:slug',
name: 'subs.post',
component: SubPost,
props: true
},
{
path: '/t/:name',
name: 'tag.page',
component: TagIndex,
props: true
},
$.ajax({
url: "/exit",
type: "POST",
data: {"_token": $('meta[name="csrf-token"]').attr('content')},
success: function (response) {
console.log('+')
}
});
justify-content: space-between;
var TableList = new Array();
var table = document.getElementsByClassName("table");
for(var i=0;i<table.length;i++){
var tr = table.item(i).getElementsByTagName("tr");
TableList['table_'+i] = new Array()
for(var j=0;j<tr.length;j++) {
var td = tr.item(j).getElementsByTagName("td");
TableList['table_'+i]['tr_'+j] = new Array()
for(var f=0;f<td.length;f++) {
TableList['table_'+i]['tr_'+j][f] = td.item(f).innerText;
}
}
console.log(TableList)