phetsims / plinko-probability

"Plinko Probability" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 7 forks source link

plinko-probability fails lint #8

Closed pixelzoom closed 9 years ago

pixelzoom commented 9 years ago

As of 2d36bcd6300abec8009e972990abc3186a50c462 ...

% grunt lint
Building plinko-probability
/Users/cmalley/PhET/GitHub/plinko-probability
Running "jshint:repoFiles" (jshint) task
Linting js/common/view/BallNode.js ...ERROR
[L60:C6] W033: Missing semicolon.
    } 
Linting js/common/view/HistogramNode.js ...ERROR
[L79:C15] W098: 'self' is defined but never used.
      var self = this;
Linting js/lab/view/PlinkoProbabilityLabView.js ...ERROR
[L186:C76] W117: 'galtonBoardRadioButton' is not defined.
          throw new Error( 'Unhandled galton Board Radio Button state: ' + galtonBoardRadioButton );

Warning: Task "jshint:repoFiles" failed. Use --force to continue.

Aborted due to warnings.
%
veillette commented 9 years ago

Fixed. closing