C2LC-22: Remove programVer state from App.js

Metadata

Source
C2LC-22
Type
Task
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Daniel Cho
Created
2019-11-06T10:22:11.225-0500
Updated
2019-11-28T23:15:56.086-0500
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

It was introduced to manage state in the ProgramTextEditor (https://github.com/codelearncreate/c2lc-coding-environment/blob/master/src/ProgramTextEditor.js) but it's going to be some hassle to keep it when we introduce a richer program model. Let's see if we can just store a reference to the program (will be commandSequence after C2LC-21 above) and test object reference equality instead of the version number.