Closed Denz1994 closed 5 years ago
The pattern has been updated to use Enumeration.js. There is still ongoing discussion about how to best proceed with this convention in phetsims/phet-core#53. I'll await the decision there before closing.
Enumerations updated as described in by doc convention. Closing issue.
As part of developer core hour meeting on 01/07/19:
From the
Enumerations
section of https://github.com/phetsims/phet-info/blob/master/doc/phet-software-design-patterns.md, we should be using rich enumerations when appropriate. Using theObject.freeze(Enumeration)
is a pattern we should move away from.Quick scan:
ForcesModeChoice.js
,SimSpeedChoice.js
, andSceneModeChoice.js
should be reviewed for this change.