JavaScript-Snake
JavaScript-Snake copied to clipboard
Redundant function Call getMode(var, var).
The event listeners are already setup in the 'me' class. The getMode sets these listeners to the corresponding buttons. That's all fine. When the rest of the event listeners are setup the following are called once again. getMode('Easy', 100); getMode('Medium', 75); getMode('Difficult', 50); All you got todo is delete those badboys.
There. I made a pull request for this.