fjenett / javascript-mode-processing

Former ProcessingJS mode (Processing 1.5) that became JavaScript mode (Processing 2.0 beta) that has now been moved out of the Processing IDE.
57 stars 13 forks source link

Little mistake in variableInputs example #10

Closed v-k- closed 9 years ago

v-k- commented 11 years ago

The variable "menuItems" is declared as: String[] menuItems; and should be String[][] menuItems;

as it is initialized latter like this:

menuItems = new String[] { new String[] {"Rectangle"}, new String[] {"Ellipse"}, new String[] {"Star"}, new String[] {"Spirograph"} };

And the js function is waiting for an array of arrays.

fjenett commented 11 years ago

Thanks, will fix for next release.