{"action":"created","comment":{"url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/comments/57116024","id":57116024,"diff_hunk":"@@ -19,6 +19,11 @@ export default React.createClass({\n         if (this.state.inEdit) {\n             this.focusOnHeading();\n         }\n+\n+        if (this.props.isNewItem) {\n+            let el = ReactDOM.findDOMNode(this);","path":"src/client/views/components/todoItem.jsx","position":6,"original_position":6,"commit_id":"b28671e451ed472ea1872d4c0c02ec29e6faa895","original_commit_id":"b28671e451ed472ea1872d4c0c02ec29e6faa895","user":{"login":"mrmckeb","id":5043083,"avatar_url":"https://avatars.githubusercontent.com/u/5043083?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmckeb","html_url":"https://github.com/mrmckeb","followers_url":"https://api.github.com/users/mrmckeb/followers","following_url":"https://api.github.com/users/mrmckeb/following{/other_user}","gists_url":"https://api.github.com/users/mrmckeb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmckeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmckeb/subscriptions","organizations_url":"https://api.github.com/users/mrmckeb/orgs","repos_url":"https://api.github.com/users/mrmckeb/repos","events_url":"https://api.github.com/users/mrmckeb/events{/privacy}","received_events_url":"https://api.github.com/users/mrmckeb/received_events","type":"User","site_admin":false},"body":"I hate to do this to you... I just noticed myself... this should be a `const`.","created_at":"2016-03-23T06:45:37Z","updated_at":"2016-03-23T06:45:37Z","html_url":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6#discussion_r57116024","pull_request_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/comments/57116024"},"html":{"href":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6#discussion_r57116024"},"pull_request":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6","id":62721104,"html_url":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6","diff_url":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6.diff","patch_url":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6.patch","issue_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/6","number":6,"state":"open","locked":false,"title":"Window will now scroll to bottom if todo item can't fit","user":{"login":"giedrius-timinskis","id":9671528,"avatar_url":"https://avatars.githubusercontent.com/u/9671528?v=3","gravatar_id":"","url":"https://api.github.com/users/giedrius-timinskis","html_url":"https://github.com/giedrius-timinskis","followers_url":"https://api.github.com/users/giedrius-timinskis/followers","following_url":"https://api.github.com/users/giedrius-timinskis/following{/other_user}","gists_url":"https://api.github.com/users/giedrius-timinskis/gists{/gist_id}","starred_url":"https://api.github.com/users/giedrius-timinskis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giedrius-timinskis/subscriptions","organizations_url":"https://api.github.com/users/giedrius-timinskis/orgs","repos_url":"https://api.github.com/users/giedrius-timinskis/repos","events_url":"https://api.github.com/users/giedrius-timinskis/events{/privacy}","received_events_url":"https://api.github.com/users/giedrius-timinskis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-14T09:45:06Z","updated_at":"2016-03-23T06:45:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9391fd5416c157936674fadde07f1dcf0cc82f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6/commits","review_comments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6/comments","review_comment_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/6/comments","statuses_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/statuses/b28671e451ed472ea1872d4c0c02ec29e6faa895","head":{"label":"JavaScriptosaurus:scroll-to-bottom","ref":"scroll-to-bottom","sha":"b28671e451ed472ea1872d4c0c02ec29e6faa895","user":{"login":"JavaScriptosaurus","id":16680083,"avatar_url":"https://avatars.githubusercontent.com/u/16680083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavaScriptosaurus","html_url":"https://github.com/JavaScriptosaurus","followers_url":"https://api.github.com/users/JavaScriptosaurus/followers","following_url":"https://api.github.com/users/JavaScriptosaurus/following{/other_user}","gists_url":"https://api.github.com/users/JavaScriptosaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/JavaScriptosaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavaScriptosaurus/subscriptions","organizations_url":"https://api.github.com/users/JavaScriptosaurus/orgs","repos_url":"https://api.github.com/users/JavaScriptosaurus/repos","events_url":"https://api.github.com/users/JavaScriptosaurus/events{/privacy}","received_events_url":"https://api.github.com/users/JavaScriptosaurus/received_events","type":"Organization","site_admin":false},"repo":{"id":51191955,"name":"react-todo-list","full_name":"JavaScriptosaurus/react-todo-list","owner":{"login":"JavaScriptosaurus","id":16680083,"avatar_url":"https://avatars.githubusercontent.com/u/16680083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavaScriptosaurus","html_url":"https://github.com/JavaScriptosaurus","followers_url":"https://api.github.com/users/JavaScriptosaurus/followers","following_url":"https://api.github.com/users/JavaScriptosaurus/following{/other_user}","gists_url":"https://api.github.com/users/JavaScriptosaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/JavaScriptosaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavaScriptosaurus/subscriptions","organizations_url":"https://api.github.com/users/JavaScriptosaurus/orgs","repos_url":"https://api.github.com/users/JavaScriptosaurus/repos","events_url":"https://api.github.com/users/JavaScriptosaurus/events{/privacy}","received_events_url":"https://api.github.com/users/JavaScriptosaurus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JavaScriptosaurus/react-todo-list","description":"","fork":false,"url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list","forks_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/forks","keys_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/teams","hooks_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/hooks","issue_events_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/events{/number}","events_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/events","assignees_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/assignees{/user}","branches_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/branches{/branch}","tags_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/tags","blobs_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/statuses/{sha}","languages_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/languages","stargazers_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/stargazers","contributors_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/contributors","subscribers_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/subscribers","subscription_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/subscription","commits_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/contents/{+path}","compare_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/merges","archive_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/downloads","issues_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues{/number}","pulls_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls{/number}","milestones_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/milestones{/number}","notifications_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/labels{/name}","releases_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/releases{/id}","deployments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/deployments","created_at":"2016-02-06T06:10:55Z","updated_at":"2016-02-06T06:12:25Z","pushed_at":"2016-03-23T05:42:07Z","git_url":"git://github.com/JavaScriptosaurus/react-todo-list.git","ssh_url":"git@github.com:JavaScriptosaurus/react-todo-list.git","clone_url":"https://github.com/JavaScriptosaurus/react-todo-list.git","svn_url":"https://github.com/JavaScriptosaurus/react-todo-list","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"develop"}},"base":{"label":"JavaScriptosaurus:develop","ref":"develop","sha":"dc4634cbdddef9d349eae76a93e0d74060c03d30","user":{"login":"JavaScriptosaurus","id":16680083,"avatar_url":"https://avatars.githubusercontent.com/u/16680083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavaScriptosaurus","html_url":"https://github.com/JavaScriptosaurus","followers_url":"https://api.github.com/users/JavaScriptosaurus/followers","following_url":"https://api.github.com/users/JavaScriptosaurus/following{/other_user}","gists_url":"https://api.github.com/users/JavaScriptosaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/JavaScriptosaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavaScriptosaurus/subscriptions","organizations_url":"https://api.github.com/users/JavaScriptosaurus/orgs","repos_url":"https://api.github.com/users/JavaScriptosaurus/repos","events_url":"https://api.github.com/users/JavaScriptosaurus/events{/privacy}","received_events_url":"https://api.github.com/users/JavaScriptosaurus/received_events","type":"Organization","site_admin":false},"repo":{"id":51191955,"name":"react-todo-list","full_name":"JavaScriptosaurus/react-todo-list","owner":{"login":"JavaScriptosaurus","id":16680083,"avatar_url":"https://avatars.githubusercontent.com/u/16680083?v=3","gravatar_id":"","url":"https://api.github.com/users/JavaScriptosaurus","html_url":"https://github.com/JavaScriptosaurus","followers_url":"https://api.github.com/users/JavaScriptosaurus/followers","following_url":"https://api.github.com/users/JavaScriptosaurus/following{/other_user}","gists_url":"https://api.github.com/users/JavaScriptosaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/JavaScriptosaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JavaScriptosaurus/subscriptions","organizations_url":"https://api.github.com/users/JavaScriptosaurus/orgs","repos_url":"https://api.github.com/users/JavaScriptosaurus/repos","events_url":"https://api.github.com/users/JavaScriptosaurus/events{/privacy}","received_events_url":"https://api.github.com/users/JavaScriptosaurus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JavaScriptosaurus/react-todo-list","description":"","fork":false,"url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list","forks_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/forks","keys_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/teams","hooks_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/hooks","issue_events_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/events{/number}","events_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/events","assignees_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/assignees{/user}","branches_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/branches{/branch}","tags_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/tags","blobs_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/refs{/sha}","trees_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/statuses/{sha}","languages_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/languages","stargazers_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/stargazers","contributors_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/contributors","subscribers_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/subscribers","subscription_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/subscription","commits_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/commits{/sha}","git_commits_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/git/commits{/sha}","comments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/comments{/number}","issue_comment_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/comments{/number}","contents_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/contents/{+path}","compare_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/merges","archive_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/downloads","issues_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues{/number}","pulls_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls{/number}","milestones_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/milestones{/number}","notifications_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/labels{/name}","releases_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/releases{/id}","deployments_url":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/deployments","created_at":"2016-02-06T06:10:55Z","updated_at":"2016-02-06T06:12:25Z","pushed_at":"2016-03-23T05:42:07Z","git_url":"git://github.com/JavaScriptosaurus/react-todo-list.git","ssh_url":"git@github.com:JavaScriptosaurus/react-todo-list.git","clone_url":"https://github.com/JavaScriptosaurus/react-todo-list.git","svn_url":"https://github.com/JavaScriptosaurus/react-todo-list","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6"},"html":{"href":"https://github.com/JavaScriptosaurus/react-todo-list/pull/6"},"issue":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/6"},"comments":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/JavaScriptosaurus/react-todo-list/statuses/b28671e451ed472ea1872d4c0c02ec29e6faa895"}}}}