質問編集履歴

2

コピペミス

2017/09/06 04:27

投稿

massiveGorilla
massiveGorilla

スコア21

test CHANGED
File without changes
test CHANGED
@@ -20,26 +20,6 @@
20
20
 
21
21
  setBackground();
22
22
 
23
- },
24
-
25
- imgTouchstart = function(e){
26
-
27
- if(e.touches.length > 1){
28
-
29
23
  }
30
24
 
31
- else{
32
-
33
- stopEvent(e);
34
-
35
- obj.state.dragable = true;
36
-
37
- obj.state.mouseX = e.touches[0].pageX;
38
-
39
- obj.state.mouseY = e.touches[0].pageY;
40
-
41
- }
42
-
43
-
44
-
45
25
  ```

1

記入漏れ

2017/09/06 04:27

投稿

massiveGorilla
massiveGorilla

スコア21

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```javascript
10
10
 
11
- zoomImage = function(e)
11
+ zoomImage = function(e)
12
12
 
13
13
  {
14
14
 
@@ -20,6 +20,26 @@
20
20
 
21
21
  setBackground();
22
22
 
23
+ },
24
+
25
+ imgTouchstart = function(e){
26
+
27
+ if(e.touches.length > 1){
28
+
23
29
  }
24
30
 
31
+ else{
32
+
33
+ stopEvent(e);
34
+
35
+ obj.state.dragable = true;
36
+
37
+ obj.state.mouseX = e.touches[0].pageX;
38
+
39
+ obj.state.mouseY = e.touches[0].pageY;
40
+
41
+ }
42
+
43
+
44
+
25
45
  ```