]> git.cworth.org Git - lmno.games/commit
Move definition of Scribe glyphs to an array of objects
authorCarl Worth <cworth@cworth.org>
Sat, 20 Jun 2020 18:01:33 +0000 (11:01 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 20 Jun 2020 18:01:33 +0000 (11:01 -0700)
commit3eded2a202f7b3d636e4b76e3c9aa0c32e2bae3f
tree6dbc45b0063d6c34540ba6906901d21fc818ab77
parent91a2de0fa74185407d3dbe84e8d8efa7030ac540
Move definition of Scribe glyphs to an array of objects

And loop over this with map() to generate a list of React elements.

This is instead of the previous list of literal React elements we had
before.

This doesn't have any immediate impact, but makes the glyph data
available if other code wants to access it in the future, (such as
code that is scoring a mini grid).
scribe/scribe.jsx