Skip to content

Commit

Permalink
Apply Webstorm formatting, see phetsims/phet-info#155
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 26, 2021
1 parent 573d9aa commit f49ea98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/waveGame/model/WaveGameChallenge.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WaveGameChallenge {
let isCorrect = true;
const answerAmplitudes = this.answerFourierSeries.amplitudesProperty.value;
for ( let i = 0; i < guessAmplitudes.length && isCorrect; i++ ) {
isCorrect = Math.abs( guessAmplitudes[ i ] - answerAmplitudes[ i ] ) <= AMPLITUDE_THRESHOLD;
isCorrect = Math.abs( guessAmplitudes[ i ] - answerAmplitudes[ i ] ) <= AMPLITUDE_THRESHOLD;
}
isCorrect && this.isCorrectEmitter.emit();
} );
Expand Down

0 comments on commit f49ea98

Please sign in to comment.