Closed pixelzoom closed 8 years ago
After adding eslint rules related to switch statements (https://github.com/phetsims/chipper/issues/485), this sim is failing lint.
% grunt lint Running "eslint:repoFiles" (eslint) task /Users/cmalley/PhET/GitHub/neuron/js/neuron/model/SodiumDualGatedChannel.js 105:7 error Expected a default case default-case /Users/cmalley/PhET/GitHub/neuron/js/neuron/view/ParticlesCanvasNode.js 115:9 error Expected a default case default-case ✖ 2 problems (2 errors, 0 warnings) Warning: Task "eslint:repoFiles" failed. Use --force to continue. Aborted due to warnings.
Errors fixed, @jbphet please review.
Changes look good, and I test the sim (with the webgl=false flag to make sure the particle canvas was tested) and it runs fine. Closing.
webgl=false
After adding eslint rules related to switch statements (https://github.com/phetsims/chipper/issues/485), this sim is failing lint.