User:Blaster Niceshot/wikia.js

//Script to get table info //See http://community.wikia.com/wiki/Thread:1018387 for more details

var lookupData = {};

function getPageData(page) { $.get('http://clashroyale.wikia.com/index.php?title=' + page).done(function{       this[page] = {            'banana':1        };        console.log(this[page]);        $('#unit-statistics-table tbody tr:eq(0) td').each(function(i){ });   }); }

getPageData('Goblins');