Open stephencweiss opened 5 years ago
Currently view mode runs the risk of a typo -- update to boolean with clear name (e.g., isEditMode: true) or an enumerable object.
isEditMode: true
https://stackoverflow.com/questions/287903/what-is-the-preferred-syntax-for-defining-enums-in-javascript https://stijndewitt.com/2014/01/26/enums-in-javascript/
Currently view mode runs the risk of a typo -- update to boolean with clear name (e.g.,
isEditMode: true
) or an enumerable object.https://stackoverflow.com/questions/287903/what-is-the-preferred-syntax-for-defining-enums-in-javascript https://stijndewitt.com/2014/01/26/enums-in-javascript/