{"action":"created","comment":{"url":"https://api.github.com/repos/pagarme/react-event-components/pulls/comments/86920891","pull_request_review_id":7553909,"id":86920891,"diff_hunk":"@@ -8,16 +8,33 @@ export default class Example extends Component {\n       x: 0,\n       y: 0,\n       totalTime: 0,\n-      color: 'rgb(0,0,0)'\n+      color: 'rgb(0,0,0)',\n+      deviceorientation: {\n+        absolute: null,\n+        alpha: null,\n+        beta: null,\n+        gamma: null\n+      }\n     }\n   }\n \n   move(position) {\n     this.setState(position)\n   }\n \n+  handleDeviceOrientation({gamma, alpha, beta, absolute}) {\n+    this.setState({\n+      deviceorientation: {\n+        absolute: absolute,","path":"src/Example.js","position":29,"original_position":29,"commit_id":"7633a89d473fd196c2462e1c030c2349b26ba0ad","original_commit_id":"7633a89d473fd196c2462e1c030c2349b26ba0ad","user":{"login":"MarcoWorms","id":7863230,"avatar_url":"https://avatars.githubusercontent.com/u/7863230?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoWorms","html_url":"https://github.com/MarcoWorms","followers_url":"https://api.github.com/users/MarcoWorms/followers","following_url":"https://api.github.com/users/MarcoWorms/following{/other_user}","gists_url":"https://api.github.com/users/MarcoWorms/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoWorms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoWorms/subscriptions","organizations_url":"https://api.github.com/users/MarcoWorms/orgs","repos_url":"https://api.github.com/users/MarcoWorms/repos","events_url":"https://api.github.com/users/MarcoWorms/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoWorms/received_events","type":"User","site_admin":false},"body":"You could use the shorthand property syntax here :)","created_at":"2016-11-08T04:10:28Z","updated_at":"2016-11-08T04:10:28Z","html_url":"https://github.com/pagarme/react-event-components/pull/17#discussion_r86920891","pull_request_url":"https://api.github.com/repos/pagarme/react-event-components/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/comments/86920891"},"html":{"href":"https://github.com/pagarme/react-event-components/pull/17#discussion_r86920891"},"pull_request":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/pagarme/react-event-components/pulls/17","id":92711212,"html_url":"https://github.com/pagarme/react-event-components/pull/17","diff_url":"https://github.com/pagarme/react-event-components/pull/17.diff","patch_url":"https://github.com/pagarme/react-event-components/pull/17.patch","issue_url":"https://api.github.com/repos/pagarme/react-event-components/issues/17","number":17,"state":"open","locked":false,"title":"Add DeviceOrientation event","user":{"login":"felquis","id":736728,"avatar_url":"https://avatars.githubusercontent.com/u/736728?v=3","gravatar_id":"","url":"https://api.github.com/users/felquis","html_url":"https://github.com/felquis","followers_url":"https://api.github.com/users/felquis/followers","following_url":"https://api.github.com/users/felquis/following{/other_user}","gists_url":"https://api.github.com/users/felquis/gists{/gist_id}","starred_url":"https://api.github.com/users/felquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felquis/subscriptions","organizations_url":"https://api.github.com/users/felquis/orgs","repos_url":"https://api.github.com/users/felquis/repos","events_url":"https://api.github.com/users/felquis/events{/privacy}","received_events_url":"https://api.github.com/users/felquis/received_events","type":"User","site_admin":false},"body":"Event attached only to window object","created_at":"2016-11-08T03:55:22Z","updated_at":"2016-11-08T04:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2091b9886f3b69db04f6ec04d03f443e4a2c95b4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pagarme/react-event-components/pulls/17/commits","review_comments_url":"https://api.github.com/repos/pagarme/react-event-components/pulls/17/comments","review_comment_url":"https://api.github.com/repos/pagarme/react-event-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagarme/react-event-components/issues/17/comments","statuses_url":"https://api.github.com/repos/pagarme/react-event-components/statuses/7633a89d473fd196c2462e1c030c2349b26ba0ad","head":{"label":"felquis:add-device-orientation","ref":"add-device-orientation","sha":"7633a89d473fd196c2462e1c030c2349b26ba0ad","user":{"login":"felquis","id":736728,"avatar_url":"https://avatars.githubusercontent.com/u/736728?v=3","gravatar_id":"","url":"https://api.github.com/users/felquis","html_url":"https://github.com/felquis","followers_url":"https://api.github.com/users/felquis/followers","following_url":"https://api.github.com/users/felquis/following{/other_user}","gists_url":"https://api.github.com/users/felquis/gists{/gist_id}","starred_url":"https://api.github.com/users/felquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felquis/subscriptions","organizations_url":"https://api.github.com/users/felquis/orgs","repos_url":"https://api.github.com/users/felquis/repos","events_url":"https://api.github.com/users/felquis/events{/privacy}","received_events_url":"https://api.github.com/users/felquis/received_events","type":"User","site_admin":false},"repo":{"id":73128427,"name":"react-event-components","full_name":"felquis/react-event-components","owner":{"login":"felquis","id":736728,"avatar_url":"https://avatars.githubusercontent.com/u/736728?v=3","gravatar_id":"","url":"https://api.github.com/users/felquis","html_url":"https://github.com/felquis","followers_url":"https://api.github.com/users/felquis/followers","following_url":"https://api.github.com/users/felquis/following{/other_user}","gists_url":"https://api.github.com/users/felquis/gists{/gist_id}","starred_url":"https://api.github.com/users/felquis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felquis/subscriptions","organizations_url":"https://api.github.com/users/felquis/orgs","repos_url":"https://api.github.com/users/felquis/repos","events_url":"https://api.github.com/users/felquis/events{/privacy}","received_events_url":"https://api.github.com/users/felquis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felquis/react-event-components","description":"A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)","fork":true,"url":"https://api.github.com/repos/felquis/react-event-components","forks_url":"https://api.github.com/repos/felquis/react-event-components/forks","keys_url":"https://api.github.com/repos/felquis/react-event-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felquis/react-event-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felquis/react-event-components/teams","hooks_url":"https://api.github.com/repos/felquis/react-event-components/hooks","issue_events_url":"https://api.github.com/repos/felquis/react-event-components/issues/events{/number}","events_url":"https://api.github.com/repos/felquis/react-event-components/events","assignees_url":"https://api.github.com/repos/felquis/react-event-components/assignees{/user}","branches_url":"https://api.github.com/repos/felquis/react-event-components/branches{/branch}","tags_url":"https://api.github.com/repos/felquis/react-event-components/tags","blobs_url":"https://api.github.com/repos/felquis/react-event-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felquis/react-event-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felquis/react-event-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/felquis/react-event-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felquis/react-event-components/statuses/{sha}","languages_url":"https://api.github.com/repos/felquis/react-event-components/languages","stargazers_url":"https://api.github.com/repos/felquis/react-event-components/stargazers","contributors_url":"https://api.github.com/repos/felquis/react-event-components/contributors","subscribers_url":"https://api.github.com/repos/felquis/react-event-components/subscribers","subscription_url":"https://api.github.com/repos/felquis/react-event-components/subscription","commits_url":"https://api.github.com/repos/felquis/react-event-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/felquis/react-event-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/felquis/react-event-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/felquis/react-event-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/felquis/react-event-components/contents/{+path}","compare_url":"https://api.github.com/repos/felquis/react-event-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felquis/react-event-components/merges","archive_url":"https://api.github.com/repos/felquis/react-event-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felquis/react-event-components/downloads","issues_url":"https://api.github.com/repos/felquis/react-event-components/issues{/number}","pulls_url":"https://api.github.com/repos/felquis/react-event-components/pulls{/number}","milestones_url":"https://api.github.com/repos/felquis/react-event-components/milestones{/number}","notifications_url":"https://api.github.com/repos/felquis/react-event-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felquis/react-event-components/labels{/name}","releases_url":"https://api.github.com/repos/felquis/react-event-components/releases{/id}","deployments_url":"https://api.github.com/repos/felquis/react-event-components/deployments","created_at":"2016-11-07T22:55:04Z","updated_at":"2016-11-07T22:55:05Z","pushed_at":"2016-11-08T03:54:32Z","git_url":"git://github.com/felquis/react-event-components.git","ssh_url":"git@github.com:felquis/react-event-components.git","clone_url":"https://github.com/felquis/react-event-components.git","svn_url":"https://github.com/felquis/react-event-components","homepage":"","size":563,"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":"pagarme:master","ref":"master","sha":"ddbf631c5e4cc2b7908a5e5ed7a1416c25198f16","user":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":72934525,"name":"react-event-components","full_name":"pagarme/react-event-components","owner":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars.githubusercontent.com/u/3846050?v=3","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/react-event-components","description":"A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)","fork":false,"url":"https://api.github.com/repos/pagarme/react-event-components","forks_url":"https://api.github.com/repos/pagarme/react-event-components/forks","keys_url":"https://api.github.com/repos/pagarme/react-event-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/react-event-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/react-event-components/teams","hooks_url":"https://api.github.com/repos/pagarme/react-event-components/hooks","issue_events_url":"https://api.github.com/repos/pagarme/react-event-components/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/react-event-components/events","assignees_url":"https://api.github.com/repos/pagarme/react-event-components/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/react-event-components/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/react-event-components/tags","blobs_url":"https://api.github.com/repos/pagarme/react-event-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/react-event-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/react-event-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/react-event-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/react-event-components/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/react-event-components/languages","stargazers_url":"https://api.github.com/repos/pagarme/react-event-components/stargazers","contributors_url":"https://api.github.com/repos/pagarme/react-event-components/contributors","subscribers_url":"https://api.github.com/repos/pagarme/react-event-components/subscribers","subscription_url":"https://api.github.com/repos/pagarme/react-event-components/subscription","commits_url":"https://api.github.com/repos/pagarme/react-event-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/react-event-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/react-event-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/react-event-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/react-event-components/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/react-event-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/react-event-components/merges","archive_url":"https://api.github.com/repos/pagarme/react-event-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/react-event-components/downloads","issues_url":"https://api.github.com/repos/pagarme/react-event-components/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/react-event-components/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/react-event-components/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/react-event-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/react-event-components/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/react-event-components/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/react-event-components/deployments","created_at":"2016-11-05T15:22:59Z","updated_at":"2016-11-08T03:50:09Z","pushed_at":"2016-11-08T03:55:23Z","git_url":"git://github.com/pagarme/react-event-components.git","ssh_url":"git@github.com:pagarme/react-event-components.git","clone_url":"https://github.com/pagarme/react-event-components.git","svn_url":"https://github.com/pagarme/react-event-components","homepage":"","size":1441,"stargazers_count":70,"watchers_count":70,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/17"},"html":{"href":"https://github.com/pagarme/react-event-components/pull/17"},"issue":{"href":"https://api.github.com/repos/pagarme/react-event-components/issues/17"},"comments":{"href":"https://api.github.com/repos/pagarme/react-event-components/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagarme/react-event-components/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/pagarme/react-event-components/statuses/7633a89d473fd196c2462e1c030c2349b26ba0ad"}}}}
{"actor":{"display_login":"MarcoWorms"}}