Lines Matching defs:div2
10 var div2 = document.createElement("div");
11 div2.id = "targetB";
12 div2.style.width = "100px";
13 div2.style.height = "100px";
14 div2.style.backgroundColor = "green";
19 targetsDiv.appendChild(div2);
30 shouldBeEqualToString('event.touches[1].target.id', div2.id);
33 shouldBeEqualToString('event.touches[0].target.id', div2.id);
55 shouldBeEqualToString('event.touches[1].target.id', div2.id);
58 shouldBeEqualToString('event.touches[0].target.id', div2.id);
77 div2.addEventListener("touchstart", declareTouchStart(), false);
78 div2.addEventListener("touchmove", declareTouchMove(), false);