We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad30d1 commit 0a6c4dfCopy full SHA for 0a6c4df
js/2secrets.js
@@ -31,11 +31,11 @@ function setup() {
31
}
32
33
function addSvgsToCells(size, padding) {
34
- $(".cell").each(function (index, object) {
+ $(".cell").each(function (i, o) {
35
var two = new Two({
36
width: size + padding,
37
height:size + padding
38
- }).appendTo(object);
+ }).appendTo(o);
39
var shape = pickFlower(shapes);
40
shape.translation.set(two.width / 2, two.height / 2);
41
two.add(shape);
0 commit comments