Closed aaronsamuel137 closed 9 years ago
During code review #56, I noticed the use of hardcoded strings "Length" and "Mass" instead of taking strings from the strings file.
// add length slider label new Text( StringUtils.format( pattern_0propertyName_1pendulumNumber, 'Length', (pendulumIndex + 1).toString() ), { font: FONT_TITLE, fill: pendulum.color } ),
...
new Text( StringUtils.format( pattern_0propertyName_1pendulumNumber, 'Mass', (pendulumIndex + 1).toString() ), { font: FONT_TITLE, fill: pendulum.color } ),
Replace hardcoded 'mass' and 'length' strings. Reassign to @aaronsamuel137 for verification.
Looks great! Closing
During code review #56, I noticed the use of hardcoded strings "Length" and "Mass" instead of taking strings from the strings file.
...