I slightly cleaned up the code and then automatically formatted it using eslint. I also added Travis file so the code formatting could be checked automatically.
This is only initial clean-up, more changes like factoring out the CSS, de-duplicating the code and straightening the function dependency graph will follow in further pull requests.
I slightly cleaned up the code and then automatically formatted it using
eslint
. I also added Travis file so the code formatting could be checked automatically.This is only initial clean-up, more changes like factoring out the CSS, de-duplicating the code and straightening the function dependency graph will follow in further pull requests.