{"action":"opened","number":85,"pull_request":{"url":"https://api.github.com/repos/ondras/rot.js/pulls/85","id":57727756,"html_url":"https://github.com/ondras/rot.js/pull/85","diff_url":"https://github.com/ondras/rot.js/pull/85.diff","patch_url":"https://github.com/ondras/rot.js/pull/85.patch","issue_url":"https://api.github.com/repos/ondras/rot.js/issues/85","number":85,"state":"open","locked":false,"title":"Make eventToPosition scale to client dimensions","user":{"login":"tps12","id":419664,"avatar_url":"https://avatars.githubusercontent.com/u/419664?v=3","gravatar_id":"","url":"https://api.github.com/users/tps12","html_url":"https://github.com/tps12","followers_url":"https://api.github.com/users/tps12/followers","following_url":"https://api.github.com/users/tps12/following{/other_user}","gists_url":"https://api.github.com/users/tps12/gists{/gist_id}","starred_url":"https://api.github.com/users/tps12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tps12/subscriptions","organizations_url":"https://api.github.com/users/tps12/orgs","repos_url":"https://api.github.com/users/tps12/repos","events_url":"https://api.github.com/users/tps12/events{/privacy}","received_events_url":"https://api.github.com/users/tps12/received_events","type":"User","site_admin":false},"body":"Couldn't figure out how to write a spec for this, but it comes into play when the container canvas is scaled with a percentage value. The change can be seen comparing\r\n\r\n  original: http://tps12.github.io/rot.js/scale-demo-original.html\r\n\r\nto\r\n\r\n  modified: http://tps12.github.io/rot.js/scale-demo-modified.html","created_at":"2016-01-30T02:46:29Z","updated_at":"2016-01-30T02:46:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ondras/rot.js/pulls/85/commits","review_comments_url":"https://api.github.com/repos/ondras/rot.js/pulls/85/comments","review_comment_url":"https://api.github.com/repos/ondras/rot.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ondras/rot.js/issues/85/comments","statuses_url":"https://api.github.com/repos/ondras/rot.js/statuses/2537a8ae9d0b25facddc4e583aa30ab5542a6d2d","head":{"label":"tps12:master","ref":"master","sha":"2537a8ae9d0b25facddc4e583aa30ab5542a6d2d","user":{"login":"tps12","id":419664,"avatar_url":"https://avatars.githubusercontent.com/u/419664?v=3","gravatar_id":"","url":"https://api.github.com/users/tps12","html_url":"https://github.com/tps12","followers_url":"https://api.github.com/users/tps12/followers","following_url":"https://api.github.com/users/tps12/following{/other_user}","gists_url":"https://api.github.com/users/tps12/gists{/gist_id}","starred_url":"https://api.github.com/users/tps12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tps12/subscriptions","organizations_url":"https://api.github.com/users/tps12/orgs","repos_url":"https://api.github.com/users/tps12/repos","events_url":"https://api.github.com/users/tps12/events{/privacy}","received_events_url":"https://api.github.com/users/tps12/received_events","type":"User","site_admin":false},"repo":{"id":50702601,"name":"rot.js","full_name":"tps12/rot.js","owner":{"login":"tps12","id":419664,"avatar_url":"https://avatars.githubusercontent.com/u/419664?v=3","gravatar_id":"","url":"https://api.github.com/users/tps12","html_url":"https://github.com/tps12","followers_url":"https://api.github.com/users/tps12/followers","following_url":"https://api.github.com/users/tps12/following{/other_user}","gists_url":"https://api.github.com/users/tps12/gists{/gist_id}","starred_url":"https://api.github.com/users/tps12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tps12/subscriptions","organizations_url":"https://api.github.com/users/tps12/orgs","repos_url":"https://api.github.com/users/tps12/repos","events_url":"https://api.github.com/users/tps12/events{/privacy}","received_events_url":"https://api.github.com/users/tps12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tps12/rot.js","description":"ROguelike Toolkit","fork":true,"url":"https://api.github.com/repos/tps12/rot.js","forks_url":"https://api.github.com/repos/tps12/rot.js/forks","keys_url":"https://api.github.com/repos/tps12/rot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tps12/rot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tps12/rot.js/teams","hooks_url":"https://api.github.com/repos/tps12/rot.js/hooks","issue_events_url":"https://api.github.com/repos/tps12/rot.js/issues/events{/number}","events_url":"https://api.github.com/repos/tps12/rot.js/events","assignees_url":"https://api.github.com/repos/tps12/rot.js/assignees{/user}","branches_url":"https://api.github.com/repos/tps12/rot.js/branches{/branch}","tags_url":"https://api.github.com/repos/tps12/rot.js/tags","blobs_url":"https://api.github.com/repos/tps12/rot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tps12/rot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tps12/rot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/tps12/rot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tps12/rot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/tps12/rot.js/languages","stargazers_url":"https://api.github.com/repos/tps12/rot.js/stargazers","contributors_url":"https://api.github.com/repos/tps12/rot.js/contributors","subscribers_url":"https://api.github.com/repos/tps12/rot.js/subscribers","subscription_url":"https://api.github.com/repos/tps12/rot.js/subscription","commits_url":"https://api.github.com/repos/tps12/rot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/tps12/rot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/tps12/rot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/tps12/rot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/tps12/rot.js/contents/{+path}","compare_url":"https://api.github.com/repos/tps12/rot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tps12/rot.js/merges","archive_url":"https://api.github.com/repos/tps12/rot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tps12/rot.js/downloads","issues_url":"https://api.github.com/repos/tps12/rot.js/issues{/number}","pulls_url":"https://api.github.com/repos/tps12/rot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/tps12/rot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/tps12/rot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tps12/rot.js/labels{/name}","releases_url":"https://api.github.com/repos/tps12/rot.js/releases{/id}","deployments_url":"https://api.github.com/repos/tps12/rot.js/deployments","created_at":"2016-01-30T01:25:59Z","updated_at":"2016-01-30T01:26:00Z","pushed_at":"2016-01-30T02:41:42Z","git_url":"git://github.com/tps12/rot.js.git","ssh_url":"git@github.com:tps12/rot.js.git","clone_url":"https://github.com/tps12/rot.js.git","svn_url":"https://github.com/tps12/rot.js","homepage":"http://ondras.github.io/rot.js/hp/","size":1582,"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":"ondras:master","ref":"master","sha":"9a260a1209d639de558a737a4d5d0ccf79340b9e","user":{"login":"ondras","id":192172,"avatar_url":"https://avatars.githubusercontent.com/u/192172?v=3","gravatar_id":"","url":"https://api.github.com/users/ondras","html_url":"https://github.com/ondras","followers_url":"https://api.github.com/users/ondras/followers","following_url":"https://api.github.com/users/ondras/following{/other_user}","gists_url":"https://api.github.com/users/ondras/gists{/gist_id}","starred_url":"https://api.github.com/users/ondras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondras/subscriptions","organizations_url":"https://api.github.com/users/ondras/orgs","repos_url":"https://api.github.com/users/ondras/repos","events_url":"https://api.github.com/users/ondras/events{/privacy}","received_events_url":"https://api.github.com/users/ondras/received_events","type":"User","site_admin":false},"repo":{"id":4391145,"name":"rot.js","full_name":"ondras/rot.js","owner":{"login":"ondras","id":192172,"avatar_url":"https://avatars.githubusercontent.com/u/192172?v=3","gravatar_id":"","url":"https://api.github.com/users/ondras","html_url":"https://github.com/ondras","followers_url":"https://api.github.com/users/ondras/followers","following_url":"https://api.github.com/users/ondras/following{/other_user}","gists_url":"https://api.github.com/users/ondras/gists{/gist_id}","starred_url":"https://api.github.com/users/ondras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondras/subscriptions","organizations_url":"https://api.github.com/users/ondras/orgs","repos_url":"https://api.github.com/users/ondras/repos","events_url":"https://api.github.com/users/ondras/events{/privacy}","received_events_url":"https://api.github.com/users/ondras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ondras/rot.js","description":"ROguelike Toolkit","fork":false,"url":"https://api.github.com/repos/ondras/rot.js","forks_url":"https://api.github.com/repos/ondras/rot.js/forks","keys_url":"https://api.github.com/repos/ondras/rot.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ondras/rot.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ondras/rot.js/teams","hooks_url":"https://api.github.com/repos/ondras/rot.js/hooks","issue_events_url":"https://api.github.com/repos/ondras/rot.js/issues/events{/number}","events_url":"https://api.github.com/repos/ondras/rot.js/events","assignees_url":"https://api.github.com/repos/ondras/rot.js/assignees{/user}","branches_url":"https://api.github.com/repos/ondras/rot.js/branches{/branch}","tags_url":"https://api.github.com/repos/ondras/rot.js/tags","blobs_url":"https://api.github.com/repos/ondras/rot.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ondras/rot.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ondras/rot.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ondras/rot.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ondras/rot.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ondras/rot.js/languages","stargazers_url":"https://api.github.com/repos/ondras/rot.js/stargazers","contributors_url":"https://api.github.com/repos/ondras/rot.js/contributors","subscribers_url":"https://api.github.com/repos/ondras/rot.js/subscribers","subscription_url":"https://api.github.com/repos/ondras/rot.js/subscription","commits_url":"https://api.github.com/repos/ondras/rot.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ondras/rot.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ondras/rot.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ondras/rot.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ondras/rot.js/contents/{+path}","compare_url":"https://api.github.com/repos/ondras/rot.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ondras/rot.js/merges","archive_url":"https://api.github.com/repos/ondras/rot.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ondras/rot.js/downloads","issues_url":"https://api.github.com/repos/ondras/rot.js/issues{/number}","pulls_url":"https://api.github.com/repos/ondras/rot.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ondras/rot.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ondras/rot.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ondras/rot.js/labels{/name}","releases_url":"https://api.github.com/repos/ondras/rot.js/releases{/id}","deployments_url":"https://api.github.com/repos/ondras/rot.js/deployments","created_at":"2012-05-21T07:58:45Z","updated_at":"2016-01-29T18:17:38Z","pushed_at":"2016-01-30T02:46:29Z","git_url":"git://github.com/ondras/rot.js.git","ssh_url":"git@github.com:ondras/rot.js.git","clone_url":"https://github.com/ondras/rot.js.git","svn_url":"https://github.com/ondras/rot.js","homepage":"http://ondras.github.io/rot.js/hp/","size":1736,"stargazers_count":798,"watchers_count":798,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":119,"mirror_url":null,"open_issues_count":15,"forks":119,"open_issues":15,"watchers":798,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/85"},"html":{"href":"https://github.com/ondras/rot.js/pull/85"},"issue":{"href":"https://api.github.com/repos/ondras/rot.js/issues/85"},"comments":{"href":"https://api.github.com/repos/ondras/rot.js/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ondras/rot.js/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/ondras/rot.js/statuses/2537a8ae9d0b25facddc4e583aa30ab5542a6d2d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":2}}