yet-another-keyboard-builder
yet-another-keyboard-builder copied to clipboard
Fails when only one line switch plate
To reproduce :
Make a switch plate with all switches on the same line, for instance [{a:7},""]
Result :
TypeError: Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
Vn Babel
e KLEParser.js:107
Br App.js:33
zl React
unstable_runWithPriority scheduler.production.min.js:18
React 8
unstable_runWithPriority scheduler.production.min.js:18
React 11
<anonymous> index.js:8
<anonymous> index.js:12
<anonymous> index.js:12
KLEParser.js:223:16
Note that, as a workaround, using [{a:7},""],
(trailing comma) works but this is not the data generated by keyboard-layout-editor.com