Anonymous
public text v1 · immutablefunction create(width, height) { var buttons = new Array(); for(y=0; y<height; y++) { var row = buttons[y] = new Array(); for (x=0; x<width; x++) { row[x] = new SmartButton(); } } return buttons;}function create(width, height) { var buttons = new Array(); for(y=0; y<height; y++) { var row = buttons[y] = new Array(); for (x=0; x<width; x++) { row[x] = new SmartButton(); } } return buttons;}