{"action":"created","comment":{"url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/comments/31768209","id":31768209,"diff_hunk":"@@ -2046,51 +1921,37 @@\n                        \n             // Define callbacks to handle key touches: iOS and Android tablets and phones\n             // TODO: replace inline function calls??\n-            if(\"ontouchstart\" in window)\n-            {\n-              util.attachDOMEvent(btn,'touchstart',\n-              function(e){\n-                osk.touchKey(this,e);\n-              }); \n-              util.attachDOMEvent(btn,'touchend',\n-              function(e){\n-                osk.releaseKey(this,e);\n-              });\n-              util.attachDOMEvent(btn,'touchmove',\n-              function(e){\n-                osk.moveOverKeys(this,e);\n-              });\n-              // The following handler is also needed on Android to prevent spurious background element selection\n-              // It should not be necessary, and is not needed on iOS.\n-             \n-              btn.onclick=function(e){e.preventDefault(); e.stopPropagation();};\n-            }\n-            // Windows tablets and phones(?)\n-            else if(device.touchable && device.OS == 'Windows')\n+            //if(\"ontouchstart\" in window)\n+            if(device.touchable)\n             {\n-              btn.style.msTouchAction='none'; //prevent default touch action on OSK keys\n-              //btn.onmspointerdown=function(e){osk.touchKey(this,e);}; \n-              //btn.onmspointerup=function(e){osk.releaseKey(this,e);};\n-              //btn.onmspointermove=function(e){osk.moveOverKeys(this,e);};\n-              btn.onmspointerdown=osk.mspointerdownHandler; // Build 360 \n-              btn.onmspointerup=osk.mspointerupHandler;     // Build 360\n-              btn.onmspointermove=osk.mspointermoveHandler; // Build 360\n-              \n-              // The following handler is also needed on Android to prevent spurious background element selection\n-              // It should not be necessary, and is not needed on iOS.\n-              //btn.onclick=function(e){e.preventDefault(); e.stopPropagation();};\n-            \n+/*            ","path":"source/kmwosk.js","position":851,"original_position":851,"commit_id":"4276fc790d3f6a563cd20fbcd2c76e4a1922f3d4","original_commit_id":"4276fc790d3f6a563cd20fbcd2c76e4a1922f3d4","user":{"login":"mcdurdin","id":4498365,"avatar_url":"https://avatars.githubusercontent.com/u/4498365?v=3","gravatar_id":"","url":"https://api.github.com/users/mcdurdin","html_url":"https://github.com/mcdurdin","followers_url":"https://api.github.com/users/mcdurdin/followers","following_url":"https://api.github.com/users/mcdurdin/following{/other_user}","gists_url":"https://api.github.com/users/mcdurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/mcdurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcdurdin/subscriptions","organizations_url":"https://api.github.com/users/mcdurdin/orgs","repos_url":"https://api.github.com/users/mcdurdin/repos","events_url":"https://api.github.com/users/mcdurdin/events{/privacy}","received_events_url":"https://api.github.com/users/mcdurdin/received_events","type":"User","site_admin":false},"body":"Remove commented code","created_at":"2015-06-04T21:33:58Z","updated_at":"2015-06-04T21:33:58Z","html_url":"https://github.com/tavultesoft/keymanweb/pull/18#discussion_r31768209","pull_request_url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/comments/31768209"},"html":{"href":"https://github.com/tavultesoft/keymanweb/pull/18#discussion_r31768209"},"pull_request":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18","id":36698110,"html_url":"https://github.com/tavultesoft/keymanweb/pull/18","diff_url":"https://github.com/tavultesoft/keymanweb/pull/18.diff","patch_url":"https://github.com/tavultesoft/keymanweb/pull/18.patch","issue_url":"https://api.github.com/repos/tavultesoft/keymanweb/issues/18","number":18,"state":"open","locked":false,"title":"OSK single event handler and key preview ","user":{"login":"jmdurdin","id":5035341,"avatar_url":"https://avatars.githubusercontent.com/u/5035341?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdurdin","html_url":"https://github.com/jmdurdin","followers_url":"https://api.github.com/users/jmdurdin/followers","following_url":"https://api.github.com/users/jmdurdin/following{/other_user}","gists_url":"https://api.github.com/users/jmdurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdurdin/subscriptions","organizations_url":"https://api.github.com/users/jmdurdin/orgs","repos_url":"https://api.github.com/users/jmdurdin/repos","events_url":"https://api.github.com/users/jmdurdin/events{/privacy}","received_events_url":"https://api.github.com/users/jmdurdin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-02T06:29:59Z","updated_at":"2015-06-04T21:33:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d6ef16a7d4b258b8a25e5f8a8accb98ec2fc611","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18/commits","review_comments_url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18/comments","review_comment_url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tavultesoft/keymanweb/issues/18/comments","statuses_url":"https://api.github.com/repos/tavultesoft/keymanweb/statuses/4276fc790d3f6a563cd20fbcd2c76e4a1922f3d4","head":{"label":"jmdurdin:master","ref":"master","sha":"4276fc790d3f6a563cd20fbcd2c76e4a1922f3d4","user":{"login":"jmdurdin","id":5035341,"avatar_url":"https://avatars.githubusercontent.com/u/5035341?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdurdin","html_url":"https://github.com/jmdurdin","followers_url":"https://api.github.com/users/jmdurdin/followers","following_url":"https://api.github.com/users/jmdurdin/following{/other_user}","gists_url":"https://api.github.com/users/jmdurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdurdin/subscriptions","organizations_url":"https://api.github.com/users/jmdurdin/orgs","repos_url":"https://api.github.com/users/jmdurdin/repos","events_url":"https://api.github.com/users/jmdurdin/events{/privacy}","received_events_url":"https://api.github.com/users/jmdurdin/received_events","type":"User","site_admin":false},"repo":{"id":26558173,"name":"keymanweb","full_name":"jmdurdin/keymanweb","owner":{"login":"jmdurdin","id":5035341,"avatar_url":"https://avatars.githubusercontent.com/u/5035341?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdurdin","html_url":"https://github.com/jmdurdin","followers_url":"https://api.github.com/users/jmdurdin/followers","following_url":"https://api.github.com/users/jmdurdin/following{/other_user}","gists_url":"https://api.github.com/users/jmdurdin/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdurdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdurdin/subscriptions","organizations_url":"https://api.github.com/users/jmdurdin/orgs","repos_url":"https://api.github.com/users/jmdurdin/repos","events_url":"https://api.github.com/users/jmdurdin/events{/privacy}","received_events_url":"https://api.github.com/users/jmdurdin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmdurdin/keymanweb","description":"Keyman Engine for Web","fork":true,"url":"https://api.github.com/repos/jmdurdin/keymanweb","forks_url":"https://api.github.com/repos/jmdurdin/keymanweb/forks","keys_url":"https://api.github.com/repos/jmdurdin/keymanweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmdurdin/keymanweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmdurdin/keymanweb/teams","hooks_url":"https://api.github.com/repos/jmdurdin/keymanweb/hooks","issue_events_url":"https://api.github.com/repos/jmdurdin/keymanweb/issues/events{/number}","events_url":"https://api.github.com/repos/jmdurdin/keymanweb/events","assignees_url":"https://api.github.com/repos/jmdurdin/keymanweb/assignees{/user}","branches_url":"https://api.github.com/repos/jmdurdin/keymanweb/branches{/branch}","tags_url":"https://api.github.com/repos/jmdurdin/keymanweb/tags","blobs_url":"https://api.github.com/repos/jmdurdin/keymanweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmdurdin/keymanweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmdurdin/keymanweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmdurdin/keymanweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmdurdin/keymanweb/statuses/{sha}","languages_url":"https://api.github.com/repos/jmdurdin/keymanweb/languages","stargazers_url":"https://api.github.com/repos/jmdurdin/keymanweb/stargazers","contributors_url":"https://api.github.com/repos/jmdurdin/keymanweb/contributors","subscribers_url":"https://api.github.com/repos/jmdurdin/keymanweb/subscribers","subscription_url":"https://api.github.com/repos/jmdurdin/keymanweb/subscription","commits_url":"https://api.github.com/repos/jmdurdin/keymanweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmdurdin/keymanweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmdurdin/keymanweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmdurdin/keymanweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmdurdin/keymanweb/contents/{+path}","compare_url":"https://api.github.com/repos/jmdurdin/keymanweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmdurdin/keymanweb/merges","archive_url":"https://api.github.com/repos/jmdurdin/keymanweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmdurdin/keymanweb/downloads","issues_url":"https://api.github.com/repos/jmdurdin/keymanweb/issues{/number}","pulls_url":"https://api.github.com/repos/jmdurdin/keymanweb/pulls{/number}","milestones_url":"https://api.github.com/repos/jmdurdin/keymanweb/milestones{/number}","notifications_url":"https://api.github.com/repos/jmdurdin/keymanweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmdurdin/keymanweb/labels{/name}","releases_url":"https://api.github.com/repos/jmdurdin/keymanweb/releases{/id}","created_at":"2014-11-12T21:58:33Z","updated_at":"2015-03-30T00:08:00Z","pushed_at":"2015-06-02T06:28:30Z","git_url":"git://github.com/jmdurdin/keymanweb.git","ssh_url":"git@github.com:jmdurdin/keymanweb.git","clone_url":"https://github.com/jmdurdin/keymanweb.git","svn_url":"https://github.com/jmdurdin/keymanweb","homepage":null,"size":5472,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tavultesoft:master","ref":"master","sha":"74b0918aae8b171db862aeb1aa0feda1ee64d063","user":{"login":"tavultesoft","id":1728056,"avatar_url":"https://avatars.githubusercontent.com/u/1728056?v=3","gravatar_id":"","url":"https://api.github.com/users/tavultesoft","html_url":"https://github.com/tavultesoft","followers_url":"https://api.github.com/users/tavultesoft/followers","following_url":"https://api.github.com/users/tavultesoft/following{/other_user}","gists_url":"https://api.github.com/users/tavultesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tavultesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavultesoft/subscriptions","organizations_url":"https://api.github.com/users/tavultesoft/orgs","repos_url":"https://api.github.com/users/tavultesoft/repos","events_url":"https://api.github.com/users/tavultesoft/events{/privacy}","received_events_url":"https://api.github.com/users/tavultesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":26063183,"name":"keymanweb","full_name":"tavultesoft/keymanweb","owner":{"login":"tavultesoft","id":1728056,"avatar_url":"https://avatars.githubusercontent.com/u/1728056?v=3","gravatar_id":"","url":"https://api.github.com/users/tavultesoft","html_url":"https://github.com/tavultesoft","followers_url":"https://api.github.com/users/tavultesoft/followers","following_url":"https://api.github.com/users/tavultesoft/following{/other_user}","gists_url":"https://api.github.com/users/tavultesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tavultesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavultesoft/subscriptions","organizations_url":"https://api.github.com/users/tavultesoft/orgs","repos_url":"https://api.github.com/users/tavultesoft/repos","events_url":"https://api.github.com/users/tavultesoft/events{/privacy}","received_events_url":"https://api.github.com/users/tavultesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tavultesoft/keymanweb","description":"Keyman Engine for Web","fork":false,"url":"https://api.github.com/repos/tavultesoft/keymanweb","forks_url":"https://api.github.com/repos/tavultesoft/keymanweb/forks","keys_url":"https://api.github.com/repos/tavultesoft/keymanweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tavultesoft/keymanweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tavultesoft/keymanweb/teams","hooks_url":"https://api.github.com/repos/tavultesoft/keymanweb/hooks","issue_events_url":"https://api.github.com/repos/tavultesoft/keymanweb/issues/events{/number}","events_url":"https://api.github.com/repos/tavultesoft/keymanweb/events","assignees_url":"https://api.github.com/repos/tavultesoft/keymanweb/assignees{/user}","branches_url":"https://api.github.com/repos/tavultesoft/keymanweb/branches{/branch}","tags_url":"https://api.github.com/repos/tavultesoft/keymanweb/tags","blobs_url":"https://api.github.com/repos/tavultesoft/keymanweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tavultesoft/keymanweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tavultesoft/keymanweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/tavultesoft/keymanweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tavultesoft/keymanweb/statuses/{sha}","languages_url":"https://api.github.com/repos/tavultesoft/keymanweb/languages","stargazers_url":"https://api.github.com/repos/tavultesoft/keymanweb/stargazers","contributors_url":"https://api.github.com/repos/tavultesoft/keymanweb/contributors","subscribers_url":"https://api.github.com/repos/tavultesoft/keymanweb/subscribers","subscription_url":"https://api.github.com/repos/tavultesoft/keymanweb/subscription","commits_url":"https://api.github.com/repos/tavultesoft/keymanweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/tavultesoft/keymanweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/tavultesoft/keymanweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/tavultesoft/keymanweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/tavultesoft/keymanweb/contents/{+path}","compare_url":"https://api.github.com/repos/tavultesoft/keymanweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tavultesoft/keymanweb/merges","archive_url":"https://api.github.com/repos/tavultesoft/keymanweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tavultesoft/keymanweb/downloads","issues_url":"https://api.github.com/repos/tavultesoft/keymanweb/issues{/number}","pulls_url":"https://api.github.com/repos/tavultesoft/keymanweb/pulls{/number}","milestones_url":"https://api.github.com/repos/tavultesoft/keymanweb/milestones{/number}","notifications_url":"https://api.github.com/repos/tavultesoft/keymanweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tavultesoft/keymanweb/labels{/name}","releases_url":"https://api.github.com/repos/tavultesoft/keymanweb/releases{/id}","created_at":"2014-11-01T21:01:44Z","updated_at":"2015-05-22T11:57:42Z","pushed_at":"2015-06-02T06:30:00Z","git_url":"git://github.com/tavultesoft/keymanweb.git","ssh_url":"git@github.com:tavultesoft/keymanweb.git","clone_url":"https://github.com/tavultesoft/keymanweb.git","svn_url":"https://github.com/tavultesoft/keymanweb","homepage":null,"size":5582,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18"},"html":{"href":"https://github.com/tavultesoft/keymanweb/pull/18"},"issue":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/issues/18"},"comments":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/tavultesoft/keymanweb/statuses/4276fc790d3f6a563cd20fbcd2c76e4a1922f3d4"}}}}