{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/bhough/react-image-crop/pulls/1","id":61109941,"html_url":"https://github.com/bhough/react-image-crop/pull/1","diff_url":"https://github.com/bhough/react-image-crop/pull/1.diff","patch_url":"https://github.com/bhough/react-image-crop/pull/1.patch","issue_url":"https://api.github.com/repos/bhough/react-image-crop/issues/1","number":1,"state":"open","locked":false,"title":"Fix for ISSUE-24","user":{"login":"bhough","id":769339,"avatar_url":"https://avatars.githubusercontent.com/u/769339?v=3","gravatar_id":"","url":"https://api.github.com/users/bhough","html_url":"https://github.com/bhough","followers_url":"https://api.github.com/users/bhough/followers","following_url":"https://api.github.com/users/bhough/following{/other_user}","gists_url":"https://api.github.com/users/bhough/gists{/gist_id}","starred_url":"https://api.github.com/users/bhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhough/subscriptions","organizations_url":"https://api.github.com/users/bhough/orgs","repos_url":"https://api.github.com/users/bhough/repos","events_url":"https://api.github.com/users/bhough/events{/privacy}","received_events_url":"https://api.github.com/users/bhough/received_events","type":"User","site_admin":false},"body":"In the componentWillRecieveProps method, the newProps are spread across the existing state using Object.Assign. The order that the properties are assigned causes new props to be overwritten by existing ones if they are already present in the state. Rearranged these so that the new props are always assigned last, thus overriding existing values in the state.","created_at":"2016-02-29T17:03:49Z","updated_at":"2016-02-29T17:03:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bhough/react-image-crop/pulls/1/commits","review_comments_url":"https://api.github.com/repos/bhough/react-image-crop/pulls/1/comments","review_comment_url":"https://api.github.com/repos/bhough/react-image-crop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bhough/react-image-crop/issues/1/comments","statuses_url":"https://api.github.com/repos/bhough/react-image-crop/statuses/ee1151e3039b01c64b1cca15fbeb2f05b4932650","head":{"label":"bhough:fix-for-issue24","ref":"fix-for-issue24","sha":"ee1151e3039b01c64b1cca15fbeb2f05b4932650","user":{"login":"bhough","id":769339,"avatar_url":"https://avatars.githubusercontent.com/u/769339?v=3","gravatar_id":"","url":"https://api.github.com/users/bhough","html_url":"https://github.com/bhough","followers_url":"https://api.github.com/users/bhough/followers","following_url":"https://api.github.com/users/bhough/following{/other_user}","gists_url":"https://api.github.com/users/bhough/gists{/gist_id}","starred_url":"https://api.github.com/users/bhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhough/subscriptions","organizations_url":"https://api.github.com/users/bhough/orgs","repos_url":"https://api.github.com/users/bhough/repos","events_url":"https://api.github.com/users/bhough/events{/privacy}","received_events_url":"https://api.github.com/users/bhough/received_events","type":"User","site_admin":false},"repo":{"id":52808001,"name":"react-image-crop","full_name":"bhough/react-image-crop","owner":{"login":"bhough","id":769339,"avatar_url":"https://avatars.githubusercontent.com/u/769339?v=3","gravatar_id":"","url":"https://api.github.com/users/bhough","html_url":"https://github.com/bhough","followers_url":"https://api.github.com/users/bhough/followers","following_url":"https://api.github.com/users/bhough/following{/other_user}","gists_url":"https://api.github.com/users/bhough/gists{/gist_id}","starred_url":"https://api.github.com/users/bhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhough/subscriptions","organizations_url":"https://api.github.com/users/bhough/orgs","repos_url":"https://api.github.com/users/bhough/repos","events_url":"https://api.github.com/users/bhough/events{/privacy}","received_events_url":"https://api.github.com/users/bhough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhough/react-image-crop","description":"A responsive image cropping tool for React","fork":true,"url":"https://api.github.com/repos/bhough/react-image-crop","forks_url":"https://api.github.com/repos/bhough/react-image-crop/forks","keys_url":"https://api.github.com/repos/bhough/react-image-crop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhough/react-image-crop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhough/react-image-crop/teams","hooks_url":"https://api.github.com/repos/bhough/react-image-crop/hooks","issue_events_url":"https://api.github.com/repos/bhough/react-image-crop/issues/events{/number}","events_url":"https://api.github.com/repos/bhough/react-image-crop/events","assignees_url":"https://api.github.com/repos/bhough/react-image-crop/assignees{/user}","branches_url":"https://api.github.com/repos/bhough/react-image-crop/branches{/branch}","tags_url":"https://api.github.com/repos/bhough/react-image-crop/tags","blobs_url":"https://api.github.com/repos/bhough/react-image-crop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhough/react-image-crop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhough/react-image-crop/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhough/react-image-crop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhough/react-image-crop/statuses/{sha}","languages_url":"https://api.github.com/repos/bhough/react-image-crop/languages","stargazers_url":"https://api.github.com/repos/bhough/react-image-crop/stargazers","contributors_url":"https://api.github.com/repos/bhough/react-image-crop/contributors","subscribers_url":"https://api.github.com/repos/bhough/react-image-crop/subscribers","subscription_url":"https://api.github.com/repos/bhough/react-image-crop/subscription","commits_url":"https://api.github.com/repos/bhough/react-image-crop/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhough/react-image-crop/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhough/react-image-crop/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhough/react-image-crop/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhough/react-image-crop/contents/{+path}","compare_url":"https://api.github.com/repos/bhough/react-image-crop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhough/react-image-crop/merges","archive_url":"https://api.github.com/repos/bhough/react-image-crop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhough/react-image-crop/downloads","issues_url":"https://api.github.com/repos/bhough/react-image-crop/issues{/number}","pulls_url":"https://api.github.com/repos/bhough/react-image-crop/pulls{/number}","milestones_url":"https://api.github.com/repos/bhough/react-image-crop/milestones{/number}","notifications_url":"https://api.github.com/repos/bhough/react-image-crop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhough/react-image-crop/labels{/name}","releases_url":"https://api.github.com/repos/bhough/react-image-crop/releases{/id}","deployments_url":"https://api.github.com/repos/bhough/react-image-crop/deployments","created_at":"2016-02-29T17:01:03Z","updated_at":"2016-02-29T17:01:04Z","pushed_at":"2016-02-29T17:03:00Z","git_url":"git://github.com/bhough/react-image-crop.git","ssh_url":"git@github.com:bhough/react-image-crop.git","clone_url":"https://github.com/bhough/react-image-crop.git","svn_url":"https://github.com/bhough/react-image-crop","homepage":"","size":3133,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"bhough:master","ref":"master","sha":"32fdf745fae4cd1ce821d6d209e6577f97f5482c","user":{"login":"bhough","id":769339,"avatar_url":"https://avatars.githubusercontent.com/u/769339?v=3","gravatar_id":"","url":"https://api.github.com/users/bhough","html_url":"https://github.com/bhough","followers_url":"https://api.github.com/users/bhough/followers","following_url":"https://api.github.com/users/bhough/following{/other_user}","gists_url":"https://api.github.com/users/bhough/gists{/gist_id}","starred_url":"https://api.github.com/users/bhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhough/subscriptions","organizations_url":"https://api.github.com/users/bhough/orgs","repos_url":"https://api.github.com/users/bhough/repos","events_url":"https://api.github.com/users/bhough/events{/privacy}","received_events_url":"https://api.github.com/users/bhough/received_events","type":"User","site_admin":false},"repo":{"id":52808001,"name":"react-image-crop","full_name":"bhough/react-image-crop","owner":{"login":"bhough","id":769339,"avatar_url":"https://avatars.githubusercontent.com/u/769339?v=3","gravatar_id":"","url":"https://api.github.com/users/bhough","html_url":"https://github.com/bhough","followers_url":"https://api.github.com/users/bhough/followers","following_url":"https://api.github.com/users/bhough/following{/other_user}","gists_url":"https://api.github.com/users/bhough/gists{/gist_id}","starred_url":"https://api.github.com/users/bhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhough/subscriptions","organizations_url":"https://api.github.com/users/bhough/orgs","repos_url":"https://api.github.com/users/bhough/repos","events_url":"https://api.github.com/users/bhough/events{/privacy}","received_events_url":"https://api.github.com/users/bhough/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhough/react-image-crop","description":"A responsive image cropping tool for React","fork":true,"url":"https://api.github.com/repos/bhough/react-image-crop","forks_url":"https://api.github.com/repos/bhough/react-image-crop/forks","keys_url":"https://api.github.com/repos/bhough/react-image-crop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhough/react-image-crop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhough/react-image-crop/teams","hooks_url":"https://api.github.com/repos/bhough/react-image-crop/hooks","issue_events_url":"https://api.github.com/repos/bhough/react-image-crop/issues/events{/number}","events_url":"https://api.github.com/repos/bhough/react-image-crop/events","assignees_url":"https://api.github.com/repos/bhough/react-image-crop/assignees{/user}","branches_url":"https://api.github.com/repos/bhough/react-image-crop/branches{/branch}","tags_url":"https://api.github.com/repos/bhough/react-image-crop/tags","blobs_url":"https://api.github.com/repos/bhough/react-image-crop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhough/react-image-crop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhough/react-image-crop/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhough/react-image-crop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhough/react-image-crop/statuses/{sha}","languages_url":"https://api.github.com/repos/bhough/react-image-crop/languages","stargazers_url":"https://api.github.com/repos/bhough/react-image-crop/stargazers","contributors_url":"https://api.github.com/repos/bhough/react-image-crop/contributors","subscribers_url":"https://api.github.com/repos/bhough/react-image-crop/subscribers","subscription_url":"https://api.github.com/repos/bhough/react-image-crop/subscription","commits_url":"https://api.github.com/repos/bhough/react-image-crop/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhough/react-image-crop/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhough/react-image-crop/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhough/react-image-crop/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhough/react-image-crop/contents/{+path}","compare_url":"https://api.github.com/repos/bhough/react-image-crop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhough/react-image-crop/merges","archive_url":"https://api.github.com/repos/bhough/react-image-crop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhough/react-image-crop/downloads","issues_url":"https://api.github.com/repos/bhough/react-image-crop/issues{/number}","pulls_url":"https://api.github.com/repos/bhough/react-image-crop/pulls{/number}","milestones_url":"https://api.github.com/repos/bhough/react-image-crop/milestones{/number}","notifications_url":"https://api.github.com/repos/bhough/react-image-crop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhough/react-image-crop/labels{/name}","releases_url":"https://api.github.com/repos/bhough/react-image-crop/releases{/id}","deployments_url":"https://api.github.com/repos/bhough/react-image-crop/deployments","created_at":"2016-02-29T17:01:03Z","updated_at":"2016-02-29T17:01:04Z","pushed_at":"2016-02-29T17:03:00Z","git_url":"git://github.com/bhough/react-image-crop.git","ssh_url":"git@github.com:bhough/react-image-crop.git","clone_url":"https://github.com/bhough/react-image-crop.git","svn_url":"https://github.com/bhough/react-image-crop","homepage":"","size":3133,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bhough/react-image-crop/pulls/1"},"html":{"href":"https://github.com/bhough/react-image-crop/pull/1"},"issue":{"href":"https://api.github.com/repos/bhough/react-image-crop/issues/1"},"comments":{"href":"https://api.github.com/repos/bhough/react-image-crop/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/bhough/react-image-crop/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/bhough/react-image-crop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bhough/react-image-crop/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/bhough/react-image-crop/statuses/ee1151e3039b01c64b1cca15fbeb2f05b4932650"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}