{"action":"created","issue":{"url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/1","repository_url":"https://api.github.com/repos/hollowdoor/pointer_point","labels_url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/1/comments","events_url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/1/events","html_url":"https://github.com/hollowdoor/pointer_point/issues/1","id":129843044,"number":1,"title":"copy paste error?","user":{"login":"timbell","id":161869,"avatar_url":"https://avatars.githubusercontent.com/u/161869?v=3","gravatar_id":"","url":"https://api.github.com/users/timbell","html_url":"https://github.com/timbell","followers_url":"https://api.github.com/users/timbell/followers","following_url":"https://api.github.com/users/timbell/following{/other_user}","gists_url":"https://api.github.com/users/timbell/gists{/gist_id}","starred_url":"https://api.github.com/users/timbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbell/subscriptions","organizations_url":"https://api.github.com/users/timbell/orgs","repos_url":"https://api.github.com/users/timbell/repos","events_url":"https://api.github.com/users/timbell/events{/privacy}","received_events_url":"https://api.github.com/users/timbell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hollowdoor","id":10039834,"avatar_url":"https://avatars.githubusercontent.com/u/10039834?v=3","gravatar_id":"","url":"https://api.github.com/users/hollowdoor","html_url":"https://github.com/hollowdoor","followers_url":"https://api.github.com/users/hollowdoor/followers","following_url":"https://api.github.com/users/hollowdoor/following{/other_user}","gists_url":"https://api.github.com/users/hollowdoor/gists{/gist_id}","starred_url":"https://api.github.com/users/hollowdoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollowdoor/subscriptions","organizations_url":"https://api.github.com/users/hollowdoor/orgs","repos_url":"https://api.github.com/users/hollowdoor/repos","events_url":"https://api.github.com/users/hollowdoor/events{/privacy}","received_events_url":"https://api.github.com/users/hollowdoor/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2016-01-29T18:15:48Z","updated_at":"2016-02-05T15:19:41Z","closed_at":"2016-02-05T15:19:41Z","body":"I'm using pointer_point via your dom_autoscroller project (thanks for that!) and I think there may be a copy paste error here: \r\n\r\n        //Supporting touch\r\n        //http://www.creativebloq.com/javascript/make-your-site-work-touch-devices-51411644\r\n        if(event.targetTouches) {\r\n            event.pageX = e.targetTouches[0].clientX;\r\n            event.pageY = e.targetTouches[0].clientY;\r\n            event.clientX = e.targetTouches[0].clientX;\r\n            event.clientY = e.targetTouches[0].clientY;\r\n            e.stopPropagation();\r\n            e.preventDefault();\r\n        }else\r\n\r\nI had to change the `e.` references to `event.` in the above block to get touch to work.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/comments/180397629","html_url":"https://github.com/hollowdoor/pointer_point/issues/1#issuecomment-180397629","issue_url":"https://api.github.com/repos/hollowdoor/pointer_point/issues/1","id":180397629,"user":{"login":"hollowdoor","id":10039834,"avatar_url":"https://avatars.githubusercontent.com/u/10039834?v=3","gravatar_id":"","url":"https://api.github.com/users/hollowdoor","html_url":"https://github.com/hollowdoor","followers_url":"https://api.github.com/users/hollowdoor/followers","following_url":"https://api.github.com/users/hollowdoor/following{/other_user}","gists_url":"https://api.github.com/users/hollowdoor/gists{/gist_id}","starred_url":"https://api.github.com/users/hollowdoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollowdoor/subscriptions","organizations_url":"https://api.github.com/users/hollowdoor/orgs","repos_url":"https://api.github.com/users/hollowdoor/repos","events_url":"https://api.github.com/users/hollowdoor/events{/privacy}","received_events_url":"https://api.github.com/users/hollowdoor/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T15:19:41Z","updated_at":"2016-02-05T15:19:41Z","body":"Ok. Touch support is so inconsistent between the platforms so it is a hard problem. Even when there is support it is slightly different for each browser, and we all know most people are going to use the default browser that comes with their hardware. Hopefully touch will become more consistent over time, or pointer-events will become standard with support.\r\n\r\nClosing again. Please make another issue if you find any new problems with pointer-point. "}}