Fixes #24. Certain older snippets did not have a snippetLanguage field, which caused the UI to fail to highlight them (it needs to know the snippet's language to get its CSV mappings). All of these older snippets were made during the time we only supported python3, so this PR adds that field to the state.
Note that the problem here was not actually due to having multiple snippets in a page, as #24 suggests. That functionality appears to work fine.
Fixes #24. Certain older snippets did not have a
snippetLanguage
field, which caused the UI to fail to highlight them (it needs to know the snippet's language to get its CSV mappings). All of these older snippets were made during the time we only supportedpython3
, so this PR adds that field to the state.Note that the problem here was not actually due to having multiple snippets in a page, as #24 suggests. That functionality appears to work fine.