This is a revamped version of #106 that has been rebased against master.
The goal is to reimplement grabbing data from the bot to display in the web interface using Socket.io while also refactoring main.js to make it easier to make changes to data objects as well as the interface itself.
All data objects are implemented in ES6 classes. Properties of data objects should not be referenced directly, and the explicit getter functions should be used instead for readability/maintainability purposes.
In addition, files have been retabbed to 4 spaces per tabstop to bring them in line with the main bot repo which also uses 4 spaces.
This is a revamped version of #106 that has been rebased against master.
The goal is to reimplement grabbing data from the bot to display in the web interface using Socket.io while also refactoring
main.js
to make it easier to make changes to data objects as well as the interface itself.All data objects are implemented in ES6 classes. Properties of data objects should not be referenced directly, and the explicit getter functions should be used instead for readability/maintainability purposes.
In addition, files have been retabbed to 4 spaces per tabstop to bring them in line with the main bot repo which also uses 4 spaces.
Relies on https://github.com/OpenPoGo/OpenPoGoBot/pull/155 for event functionality to work.
Don't merge yet, this is not ready.