質問編集履歴

2

記述ミス

2017/09/21 23:13

投稿

d415uk35470
d415uk35470

スコア45

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  function loop(){
34
34
 
35
- if(flag===true) console.log('red');
35
+ if(isTouching===true) console.log('red');
36
36
 
37
37
  else console.log('blue');
38
38
 

1

記述ミス

2017/09/21 23:13

投稿

d415uk35470
d415uk35470

スコア45

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
  // タッチ終了時にこの関数が呼ばれるとします。
54
54
 
55
- function ontouchstart(){
55
+ function ontouchend(){
56
56
 
57
57
  isTouching = false;
58
58