{"action":"created","comment":{"url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/comments/90296419","pull_request_review_id":10817815,"id":90296419,"diff_hunk":"@@ -1,8 +1,9 @@\n 'use strict';\n \n-var React = require('react-native');\n-var window = React.Dimensions.get('window');\n-var {View, NativeMethodsMixin} = React;\n+var React = require('react');","path":"index.js","position":6,"original_position":6,"commit_id":"ad2024cb3905530c8d74f52efbdb926042faf8fb","original_commit_id":"ad2024cb3905530c8d74f52efbdb926042faf8fb","user":{"login":"chandlervdw","id":332278,"avatar_url":"https://avatars.githubusercontent.com/u/332278?v=3","gravatar_id":"","url":"https://api.github.com/users/chandlervdw","html_url":"https://github.com/chandlervdw","followers_url":"https://api.github.com/users/chandlervdw/followers","following_url":"https://api.github.com/users/chandlervdw/following{/other_user}","gists_url":"https://api.github.com/users/chandlervdw/gists{/gist_id}","starred_url":"https://api.github.com/users/chandlervdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandlervdw/subscriptions","organizations_url":"https://api.github.com/users/chandlervdw/orgs","repos_url":"https://api.github.com/users/chandlervdw/repos","events_url":"https://api.github.com/users/chandlervdw/events{/privacy}","received_events_url":"https://api.github.com/users/chandlervdw/received_events","type":"User","site_admin":false},"body":"```\r\nimport React from 'react';\r\nimport { Dimensions, View, NativeMethodsMixin } from 'react-native';\r\n\r\nconst window = Dimensions.get('window');\r\n```","created_at":"2016-11-30T18:31:49Z","updated_at":"2016-11-30T18:31:49Z","html_url":"https://github.com/yamill/react-native-inviewport/pull/5#discussion_r90296419","pull_request_url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/comments/90296419"},"html":{"href":"https://github.com/yamill/react-native-inviewport/pull/5#discussion_r90296419"},"pull_request":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5","id":79886430,"html_url":"https://github.com/yamill/react-native-inviewport/pull/5","diff_url":"https://github.com/yamill/react-native-inviewport/pull/5.diff","patch_url":"https://github.com/yamill/react-native-inviewport/pull/5.patch","issue_url":"https://api.github.com/repos/yamill/react-native-inviewport/issues/5","number":5,"state":"open","locked":false,"title":"Updated for newest version of react native","user":{"login":"ChelseyM","id":6967777,"avatar_url":"https://avatars.githubusercontent.com/u/6967777?v=3","gravatar_id":"","url":"https://api.github.com/users/ChelseyM","html_url":"https://github.com/ChelseyM","followers_url":"https://api.github.com/users/ChelseyM/followers","following_url":"https://api.github.com/users/ChelseyM/following{/other_user}","gists_url":"https://api.github.com/users/ChelseyM/gists{/gist_id}","starred_url":"https://api.github.com/users/ChelseyM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChelseyM/subscriptions","organizations_url":"https://api.github.com/users/ChelseyM/orgs","repos_url":"https://api.github.com/users/ChelseyM/repos","events_url":"https://api.github.com/users/ChelseyM/events{/privacy}","received_events_url":"https://api.github.com/users/ChelseyM/received_events","type":"User","site_admin":false},"body":"Requiring React from 'react-native' no longer works in latest versions of react. \n\nSee https://github.com/facebook/react-native/releases/tag/v0.25.1\n","created_at":"2016-08-03T10:57:24Z","updated_at":"2016-11-30T18:31:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f33c8c03483a2ebb7fbdc4a60a6103431e88e567","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5/commits","review_comments_url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5/comments","review_comment_url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yamill/react-native-inviewport/issues/5/comments","statuses_url":"https://api.github.com/repos/yamill/react-native-inviewport/statuses/ad2024cb3905530c8d74f52efbdb926042faf8fb","head":{"label":"Project-J:master","ref":"master","sha":"ad2024cb3905530c8d74f52efbdb926042faf8fb","user":{"login":"Project-J","id":7327149,"avatar_url":"https://avatars.githubusercontent.com/u/7327149?v=3","gravatar_id":"","url":"https://api.github.com/users/Project-J","html_url":"https://github.com/Project-J","followers_url":"https://api.github.com/users/Project-J/followers","following_url":"https://api.github.com/users/Project-J/following{/other_user}","gists_url":"https://api.github.com/users/Project-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Project-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Project-J/subscriptions","organizations_url":"https://api.github.com/users/Project-J/orgs","repos_url":"https://api.github.com/users/Project-J/repos","events_url":"https://api.github.com/users/Project-J/events{/privacy}","received_events_url":"https://api.github.com/users/Project-J/received_events","type":"Organization","site_admin":false},"repo":{"id":57977183,"name":"react-native-inviewport","full_name":"Project-J/react-native-inviewport","owner":{"login":"Project-J","id":7327149,"avatar_url":"https://avatars.githubusercontent.com/u/7327149?v=3","gravatar_id":"","url":"https://api.github.com/users/Project-J","html_url":"https://github.com/Project-J","followers_url":"https://api.github.com/users/Project-J/followers","following_url":"https://api.github.com/users/Project-J/following{/other_user}","gists_url":"https://api.github.com/users/Project-J/gists{/gist_id}","starred_url":"https://api.github.com/users/Project-J/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Project-J/subscriptions","organizations_url":"https://api.github.com/users/Project-J/orgs","repos_url":"https://api.github.com/users/Project-J/repos","events_url":"https://api.github.com/users/Project-J/events{/privacy}","received_events_url":"https://api.github.com/users/Project-J/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Project-J/react-native-inviewport","description":"Detect if component is in device viewport","fork":true,"url":"https://api.github.com/repos/Project-J/react-native-inviewport","forks_url":"https://api.github.com/repos/Project-J/react-native-inviewport/forks","keys_url":"https://api.github.com/repos/Project-J/react-native-inviewport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Project-J/react-native-inviewport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Project-J/react-native-inviewport/teams","hooks_url":"https://api.github.com/repos/Project-J/react-native-inviewport/hooks","issue_events_url":"https://api.github.com/repos/Project-J/react-native-inviewport/issues/events{/number}","events_url":"https://api.github.com/repos/Project-J/react-native-inviewport/events","assignees_url":"https://api.github.com/repos/Project-J/react-native-inviewport/assignees{/user}","branches_url":"https://api.github.com/repos/Project-J/react-native-inviewport/branches{/branch}","tags_url":"https://api.github.com/repos/Project-J/react-native-inviewport/tags","blobs_url":"https://api.github.com/repos/Project-J/react-native-inviewport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Project-J/react-native-inviewport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Project-J/react-native-inviewport/git/refs{/sha}","trees_url":"https://api.github.com/repos/Project-J/react-native-inviewport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Project-J/react-native-inviewport/statuses/{sha}","languages_url":"https://api.github.com/repos/Project-J/react-native-inviewport/languages","stargazers_url":"https://api.github.com/repos/Project-J/react-native-inviewport/stargazers","contributors_url":"https://api.github.com/repos/Project-J/react-native-inviewport/contributors","subscribers_url":"https://api.github.com/repos/Project-J/react-native-inviewport/subscribers","subscription_url":"https://api.github.com/repos/Project-J/react-native-inviewport/subscription","commits_url":"https://api.github.com/repos/Project-J/react-native-inviewport/commits{/sha}","git_commits_url":"https://api.github.com/repos/Project-J/react-native-inviewport/git/commits{/sha}","comments_url":"https://api.github.com/repos/Project-J/react-native-inviewport/comments{/number}","issue_comment_url":"https://api.github.com/repos/Project-J/react-native-inviewport/issues/comments{/number}","contents_url":"https://api.github.com/repos/Project-J/react-native-inviewport/contents/{+path}","compare_url":"https://api.github.com/repos/Project-J/react-native-inviewport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Project-J/react-native-inviewport/merges","archive_url":"https://api.github.com/repos/Project-J/react-native-inviewport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Project-J/react-native-inviewport/downloads","issues_url":"https://api.github.com/repos/Project-J/react-native-inviewport/issues{/number}","pulls_url":"https://api.github.com/repos/Project-J/react-native-inviewport/pulls{/number}","milestones_url":"https://api.github.com/repos/Project-J/react-native-inviewport/milestones{/number}","notifications_url":"https://api.github.com/repos/Project-J/react-native-inviewport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Project-J/react-native-inviewport/labels{/name}","releases_url":"https://api.github.com/repos/Project-J/react-native-inviewport/releases{/id}","deployments_url":"https://api.github.com/repos/Project-J/react-native-inviewport/deployments","created_at":"2016-05-03T14:49:38Z","updated_at":"2016-05-03T14:49:39Z","pushed_at":"2016-09-08T14:57:43Z","git_url":"git://github.com/Project-J/react-native-inviewport.git","ssh_url":"git@github.com:Project-J/react-native-inviewport.git","clone_url":"https://github.com/Project-J/react-native-inviewport.git","svn_url":"https://github.com/Project-J/react-native-inviewport","homepage":"","size":5,"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":"yamill:master","ref":"master","sha":"1efd1bc86c89ca1ee25a2eefdb0199a8a450f50f","user":{"login":"yamill","id":755943,"avatar_url":"https://avatars.githubusercontent.com/u/755943?v=3","gravatar_id":"","url":"https://api.github.com/users/yamill","html_url":"https://github.com/yamill","followers_url":"https://api.github.com/users/yamill/followers","following_url":"https://api.github.com/users/yamill/following{/other_user}","gists_url":"https://api.github.com/users/yamill/gists{/gist_id}","starred_url":"https://api.github.com/users/yamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamill/subscriptions","organizations_url":"https://api.github.com/users/yamill/orgs","repos_url":"https://api.github.com/users/yamill/repos","events_url":"https://api.github.com/users/yamill/events{/privacy}","received_events_url":"https://api.github.com/users/yamill/received_events","type":"User","site_admin":false},"repo":{"id":51771746,"name":"react-native-inviewport","full_name":"yamill/react-native-inviewport","owner":{"login":"yamill","id":755943,"avatar_url":"https://avatars.githubusercontent.com/u/755943?v=3","gravatar_id":"","url":"https://api.github.com/users/yamill","html_url":"https://github.com/yamill","followers_url":"https://api.github.com/users/yamill/followers","following_url":"https://api.github.com/users/yamill/following{/other_user}","gists_url":"https://api.github.com/users/yamill/gists{/gist_id}","starred_url":"https://api.github.com/users/yamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamill/subscriptions","organizations_url":"https://api.github.com/users/yamill/orgs","repos_url":"https://api.github.com/users/yamill/repos","events_url":"https://api.github.com/users/yamill/events{/privacy}","received_events_url":"https://api.github.com/users/yamill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yamill/react-native-inviewport","description":"Detect if component is in device viewport","fork":false,"url":"https://api.github.com/repos/yamill/react-native-inviewport","forks_url":"https://api.github.com/repos/yamill/react-native-inviewport/forks","keys_url":"https://api.github.com/repos/yamill/react-native-inviewport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yamill/react-native-inviewport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yamill/react-native-inviewport/teams","hooks_url":"https://api.github.com/repos/yamill/react-native-inviewport/hooks","issue_events_url":"https://api.github.com/repos/yamill/react-native-inviewport/issues/events{/number}","events_url":"https://api.github.com/repos/yamill/react-native-inviewport/events","assignees_url":"https://api.github.com/repos/yamill/react-native-inviewport/assignees{/user}","branches_url":"https://api.github.com/repos/yamill/react-native-inviewport/branches{/branch}","tags_url":"https://api.github.com/repos/yamill/react-native-inviewport/tags","blobs_url":"https://api.github.com/repos/yamill/react-native-inviewport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yamill/react-native-inviewport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yamill/react-native-inviewport/git/refs{/sha}","trees_url":"https://api.github.com/repos/yamill/react-native-inviewport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yamill/react-native-inviewport/statuses/{sha}","languages_url":"https://api.github.com/repos/yamill/react-native-inviewport/languages","stargazers_url":"https://api.github.com/repos/yamill/react-native-inviewport/stargazers","contributors_url":"https://api.github.com/repos/yamill/react-native-inviewport/contributors","subscribers_url":"https://api.github.com/repos/yamill/react-native-inviewport/subscribers","subscription_url":"https://api.github.com/repos/yamill/react-native-inviewport/subscription","commits_url":"https://api.github.com/repos/yamill/react-native-inviewport/commits{/sha}","git_commits_url":"https://api.github.com/repos/yamill/react-native-inviewport/git/commits{/sha}","comments_url":"https://api.github.com/repos/yamill/react-native-inviewport/comments{/number}","issue_comment_url":"https://api.github.com/repos/yamill/react-native-inviewport/issues/comments{/number}","contents_url":"https://api.github.com/repos/yamill/react-native-inviewport/contents/{+path}","compare_url":"https://api.github.com/repos/yamill/react-native-inviewport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yamill/react-native-inviewport/merges","archive_url":"https://api.github.com/repos/yamill/react-native-inviewport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yamill/react-native-inviewport/downloads","issues_url":"https://api.github.com/repos/yamill/react-native-inviewport/issues{/number}","pulls_url":"https://api.github.com/repos/yamill/react-native-inviewport/pulls{/number}","milestones_url":"https://api.github.com/repos/yamill/react-native-inviewport/milestones{/number}","notifications_url":"https://api.github.com/repos/yamill/react-native-inviewport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yamill/react-native-inviewport/labels{/name}","releases_url":"https://api.github.com/repos/yamill/react-native-inviewport/releases{/id}","deployments_url":"https://api.github.com/repos/yamill/react-native-inviewport/deployments","created_at":"2016-02-15T17:15:24Z","updated_at":"2016-11-25T18:24:22Z","pushed_at":"2016-09-08T14:57:43Z","git_url":"git://github.com/yamill/react-native-inviewport.git","ssh_url":"git@github.com:yamill/react-native-inviewport.git","clone_url":"https://github.com/yamill/react-native-inviewport.git","svn_url":"https://github.com/yamill/react-native-inviewport","homepage":"","size":4,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5"},"html":{"href":"https://github.com/yamill/react-native-inviewport/pull/5"},"issue":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/issues/5"},"comments":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/yamill/react-native-inviewport/statuses/ad2024cb3905530c8d74f52efbdb926042faf8fb"}}}}
{"actor":{"display_login":"chandlervdw"}}