@Baxer said in Stuck in development:
var standings = {};
this.sendSocketNotification(‘STANDINGS’, standings);
You are almost there. This is the one bit where you currently are missing code. You need to send the teams data via the socket notification system to the module.
Since I have no idea how the data exactly looks like I can only give you the hint that you can either populate the standings object yourself (maybe it’s worth to take a look at arrays in javascript)
var standings = [];
for(myLoopCodition){
standings.push(teams[i] ...);
}
or send the entire teams data via the socket and let the module handle it. Now in the getDom() function you can maybe create a nice table to display the data in a fitting way.