Hi All,
I get below error when I run 'grant' from my simulation root directory.
37:11 error 'footballControlsTitleNode' is assigned a value but never used no-unused-vars
62:9 error 'footBallControlsTitleNode' is not defined no-undef
However, I actually do have const defined and indeed using it in same file. Below is code.
// 'Football Controls' title
const footballControlsTitleNode = new Text( gravitySimStrings.footballControls, {
font: new PhetFont( {
size: 18,
weight: 'bold'
} )
} );
// The contents of the control panel
const content = new VBox( {
align: 'center',
spacing: 10,
children: [
footBallControlsTitleNode,
pushButton
]
} );
Any clue is much appreciated.
Thanks & Regards,
Sai Surya