{"action":"created","comment":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments/55643583","id":55643583,"diff_hunk":"@@ -98,31 +73,15 @@ var DateInput = React.createClass({\n     this.refs.input.focus()\n   },\n \n-  getClassNames () {\n-    return classnames(\n-      'datepicker__input',\n-      { 'ignore-react-onclickoutside': this.props.open },\n-      this.props.className)\n-  },\n-\n   render () {\n     return <input\n-        ref=\"input\"\n-        type=\"text\"\n-        id={this.props.id}\n-        name={this.props.name}\n+        ref='input'\n+        type='text'\n+        {...this.props}","path":"src/date_input.jsx","position":65,"original_position":65,"commit_id":"0c9cd0d23a5a2961164166762d40df1d863a6cf6","original_commit_id":"0c9cd0d23a5a2961164166762d40df1d863a6cf6","user":{"login":"rafeememon","id":1829450,"avatar_url":"https://avatars.githubusercontent.com/u/1829450?v=3","gravatar_id":"","url":"https://api.github.com/users/rafeememon","html_url":"https://github.com/rafeememon","followers_url":"https://api.github.com/users/rafeememon/followers","following_url":"https://api.github.com/users/rafeememon/following{/other_user}","gists_url":"https://api.github.com/users/rafeememon/gists{/gist_id}","starred_url":"https://api.github.com/users/rafeememon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafeememon/subscriptions","organizations_url":"https://api.github.com/users/rafeememon/orgs","repos_url":"https://api.github.com/users/rafeememon/repos","events_url":"https://api.github.com/users/rafeememon/events{/privacy}","received_events_url":"https://api.github.com/users/rafeememon/received_events","type":"User","site_admin":false},"body":"This is the magic line that lets us pass arbitrary props to the `<input>` element","created_at":"2016-03-10T07:47:46Z","updated_at":"2016-03-10T07:47:46Z","html_url":"https://github.com/Hacker0x01/react-datepicker/pull/394#discussion_r55643583","pull_request_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394","_links":{"self":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments/55643583"},"html":{"href":"https://github.com/Hacker0x01/react-datepicker/pull/394#discussion_r55643583"},"pull_request":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394"}}},"pull_request":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394","id":62346802,"html_url":"https://github.com/Hacker0x01/react-datepicker/pull/394","diff_url":"https://github.com/Hacker0x01/react-datepicker/pull/394.diff","patch_url":"https://github.com/Hacker0x01/react-datepicker/pull/394.patch","issue_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/394","number":394,"state":"open","locked":false,"title":"WIP: Clean up DateInput API","user":{"login":"rafeememon","id":1829450,"avatar_url":"https://avatars.githubusercontent.com/u/1829450?v=3","gravatar_id":"","url":"https://api.github.com/users/rafeememon","html_url":"https://github.com/rafeememon","followers_url":"https://api.github.com/users/rafeememon/followers","following_url":"https://api.github.com/users/rafeememon/following{/other_user}","gists_url":"https://api.github.com/users/rafeememon/gists{/gist_id}","starred_url":"https://api.github.com/users/rafeememon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafeememon/subscriptions","organizations_url":"https://api.github.com/users/rafeememon/orgs","repos_url":"https://api.github.com/users/rafeememon/repos","events_url":"https://api.github.com/users/rafeememon/events{/privacy}","received_events_url":"https://api.github.com/users/rafeememon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-10T06:48:43Z","updated_at":"2016-03-10T07:47:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bdd3fcb47208f43be884a741e05d8b756cdea299","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394/commits","review_comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394/comments","review_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/394/comments","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/0c9cd0d23a5a2961164166762d40df1d863a6cf6","head":{"label":"Hacker0x01:feature/date-input-api","ref":"feature/date-input-api","sha":"0c9cd0d23a5a2961164166762d40df1d863a6cf6","user":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"repo":{"id":21088356,"name":"react-datepicker","full_name":"Hacker0x01/react-datepicker","owner":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hacker0x01/react-datepicker","description":"A simple and reusable datepicker component for React","fork":false,"url":"https://api.github.com/repos/Hacker0x01/react-datepicker","forks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/forks","keys_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/teams","hooks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/events","assignees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/tags","blobs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscription","commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/merges","archive_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/downloads","issues_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/deployments","created_at":"2014-06-22T07:40:48Z","updated_at":"2016-03-10T03:55:47Z","pushed_at":"2016-03-10T07:44:30Z","git_url":"git://github.com/Hacker0x01/react-datepicker.git","ssh_url":"git@github.com:Hacker0x01/react-datepicker.git","clone_url":"https://github.com/Hacker0x01/react-datepicker.git","svn_url":"https://github.com/Hacker0x01/react-datepicker","homepage":"https://hacker0x01.github.io/react-datepicker","size":5652,"stargazers_count":440,"watchers_count":440,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":201,"mirror_url":null,"open_issues_count":23,"forks":201,"open_issues":23,"watchers":440,"default_branch":"master"}},"base":{"label":"Hacker0x01:master","ref":"master","sha":"db39dbbd815eeac79574e54de0563d8031148b4a","user":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"repo":{"id":21088356,"name":"react-datepicker","full_name":"Hacker0x01/react-datepicker","owner":{"login":"Hacker0x01","id":3014877,"avatar_url":"https://avatars.githubusercontent.com/u/3014877?v=3","gravatar_id":"","url":"https://api.github.com/users/Hacker0x01","html_url":"https://github.com/Hacker0x01","followers_url":"https://api.github.com/users/Hacker0x01/followers","following_url":"https://api.github.com/users/Hacker0x01/following{/other_user}","gists_url":"https://api.github.com/users/Hacker0x01/gists{/gist_id}","starred_url":"https://api.github.com/users/Hacker0x01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hacker0x01/subscriptions","organizations_url":"https://api.github.com/users/Hacker0x01/orgs","repos_url":"https://api.github.com/users/Hacker0x01/repos","events_url":"https://api.github.com/users/Hacker0x01/events{/privacy}","received_events_url":"https://api.github.com/users/Hacker0x01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hacker0x01/react-datepicker","description":"A simple and reusable datepicker component for React","fork":false,"url":"https://api.github.com/repos/Hacker0x01/react-datepicker","forks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/forks","keys_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/teams","hooks_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/events","assignees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/tags","blobs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/languages","stargazers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/subscription","commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/merges","archive_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/downloads","issues_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/deployments","created_at":"2014-06-22T07:40:48Z","updated_at":"2016-03-10T03:55:47Z","pushed_at":"2016-03-10T07:44:30Z","git_url":"git://github.com/Hacker0x01/react-datepicker.git","ssh_url":"git@github.com:Hacker0x01/react-datepicker.git","clone_url":"https://github.com/Hacker0x01/react-datepicker.git","svn_url":"https://github.com/Hacker0x01/react-datepicker","homepage":"https://hacker0x01.github.io/react-datepicker","size":5652,"stargazers_count":440,"watchers_count":440,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":201,"mirror_url":null,"open_issues_count":23,"forks":201,"open_issues":23,"watchers":440,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394"},"html":{"href":"https://github.com/Hacker0x01/react-datepicker/pull/394"},"issue":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/394"},"comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/394/comments"},"review_comments":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394/comments"},"review_comment":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/pulls/394/commits"},"statuses":{"href":"https://api.github.com/repos/Hacker0x01/react-datepicker/statuses/0c9cd0d23a5a2961164166762d40df1d863a6cf6"}}}}