OLD | NEW |
(Empty) | |
| 1 >>> |
| 2 return $.Div(inner: [ |
| 3 |
| 4 $.Div(id: "container", inner: [ |
| 5 $.Canvas(width: maxD, height: maxD, clazz: "center", ref: canvas), |
| 6 $.Form(clazz: "center", inner: [ |
| 7 $.Input(type: "range", max: 1000, value: seeds, onChange: onSliderCh
ange) |
| 8 ]), |
| 9 $.Img(src: "math.png", width: "350px", height: "42px", clazz: "center") |
| 10 ]), |
| 11 |
| 12 $.Footer(inner: [ |
| 13 $.P(id: "notes", inner: "${seeds} seeds") |
| 14 ]), |
| 15 ]); |
| 16 <<< |
| 17 return $.Div(inner: [ |
| 18 $.Div(id: "container", inner: [ |
| 19 $.Canvas(width: maxD, height: maxD, clazz: "center", ref: canvas), |
| 20 $.Form(clazz: "center", inner: [ |
| 21 $.Input(type: "range", max: 1000, value: seeds, onChange: onSliderChange) |
| 22 ]), |
| 23 $.Img(src: "math.png", width: "350px", height: "42px", clazz: "center") |
| 24 ]), |
| 25 $.Footer(inner: [$.P(id: "notes", inner: "${seeds} seeds")]), |
| 26 ]); |
OLD | NEW |