{"action":"created","comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments/58123978","id":58123978,"diff_hunk":"@@ -13,19 +16,21 @@ let NavbarToggle = React.createClass({\n   contextTypes: {\n     $bs_navbar_bsClass: PropTypes.string,\n     $bs_navbar_onToggle: PropTypes.func,\n+    $bs_navbar_expanded: PropTypes.bool\n   },\n \n   render() {\n     let { children, ...props } = this.props;\n     let {\n       $bs_navbar_bsClass: bsClass = 'navbar',\n-      $bs_navbar_onToggle: onToggle\n+      $bs_navbar_onToggle: onToggle,\n+      $bs_navbar_expanded: expanded\n     } = this.context;\n \n     return (\n       <button type=\"button\"\n-        onClick={onToggle}\n-        className={tbsUtils.prefix({ bsClass }, 'toggle')}\n+        onClick={createChainedFunction(this.handleCollapsedState, onToggle)}","path":"src/NavbarToggle.js","position":29,"original_position":29,"commit_id":"67bb53e26ce3e136d30a3078258ee0e44e8b9362","original_commit_id":"67bb53e26ce3e136d30a3078258ee0e44e8b9362","user":{"login":"hhtran","id":3219643,"avatar_url":"https://avatars.githubusercontent.com/u/3219643?v=3","gravatar_id":"","url":"https://api.github.com/users/hhtran","html_url":"https://github.com/hhtran","followers_url":"https://api.github.com/users/hhtran/followers","following_url":"https://api.github.com/users/hhtran/following{/other_user}","gists_url":"https://api.github.com/users/hhtran/gists{/gist_id}","starred_url":"https://api.github.com/users/hhtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhtran/subscriptions","organizations_url":"https://api.github.com/users/hhtran/orgs","repos_url":"https://api.github.com/users/hhtran/repos","events_url":"https://api.github.com/users/hhtran/events{/privacy}","received_events_url":"https://api.github.com/users/hhtran/received_events","type":"User","site_admin":false},"body":"That is true. I thought I had returned that line to the original when I removed the redundant state lines. Will remove now","created_at":"2016-03-31T20:41:15Z","updated_at":"2016-03-31T20:41:15Z","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1733#discussion_r58123978","pull_request_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733","_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments/58123978"},"html":{"href":"https://github.com/react-bootstrap/react-bootstrap/pull/1733#discussion_r58123978"},"pull_request":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733"}}},"pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733","id":64599519,"html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1733","diff_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1733.diff","patch_url":"https://github.com/react-bootstrap/react-bootstrap/pull/1733.patch","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1733","number":1733,"state":"open","locked":false,"title":"Add 'collapsed' class on NavbarToggle","user":{"login":"hhtran","id":3219643,"avatar_url":"https://avatars.githubusercontent.com/u/3219643?v=3","gravatar_id":"","url":"https://api.github.com/users/hhtran","html_url":"https://github.com/hhtran","followers_url":"https://api.github.com/users/hhtran/followers","following_url":"https://api.github.com/users/hhtran/following{/other_user}","gists_url":"https://api.github.com/users/hhtran/gists{/gist_id}","starred_url":"https://api.github.com/users/hhtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhtran/subscriptions","organizations_url":"https://api.github.com/users/hhtran/orgs","repos_url":"https://api.github.com/users/hhtran/repos","events_url":"https://api.github.com/users/hhtran/events{/privacy}","received_events_url":"https://api.github.com/users/hhtran/received_events","type":"User","site_admin":false},"body":"Added the 'collapsed' class/state to the NavbarToggle component by default. Removes and adds the 'collapsed' class according the NavbarToggle's collapse state to match the default bootstrap behavior as requested in Issue #1645 .\r\n\r\nThis is my first time trying to contribute to open source. Please let me know if I'm doing anything wrong/my style is incorrect!","created_at":"2016-03-30T09:50:36Z","updated_at":"2016-03-31T20:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7513d62932979af132d5f746e5f6006f91d44945","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733/commits","review_comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733/comments","review_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1733/comments","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/67bb53e26ce3e136d30a3078258ee0e44e8b9362","head":{"label":"hhtran:master","ref":"master","sha":"67bb53e26ce3e136d30a3078258ee0e44e8b9362","user":{"login":"hhtran","id":3219643,"avatar_url":"https://avatars.githubusercontent.com/u/3219643?v=3","gravatar_id":"","url":"https://api.github.com/users/hhtran","html_url":"https://github.com/hhtran","followers_url":"https://api.github.com/users/hhtran/followers","following_url":"https://api.github.com/users/hhtran/following{/other_user}","gists_url":"https://api.github.com/users/hhtran/gists{/gist_id}","starred_url":"https://api.github.com/users/hhtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhtran/subscriptions","organizations_url":"https://api.github.com/users/hhtran/orgs","repos_url":"https://api.github.com/users/hhtran/repos","events_url":"https://api.github.com/users/hhtran/events{/privacy}","received_events_url":"https://api.github.com/users/hhtran/received_events","type":"User","site_admin":false},"repo":{"id":55049254,"name":"react-bootstrap","full_name":"hhtran/react-bootstrap","owner":{"login":"hhtran","id":3219643,"avatar_url":"https://avatars.githubusercontent.com/u/3219643?v=3","gravatar_id":"","url":"https://api.github.com/users/hhtran","html_url":"https://github.com/hhtran","followers_url":"https://api.github.com/users/hhtran/followers","following_url":"https://api.github.com/users/hhtran/following{/other_user}","gists_url":"https://api.github.com/users/hhtran/gists{/gist_id}","starred_url":"https://api.github.com/users/hhtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhtran/subscriptions","organizations_url":"https://api.github.com/users/hhtran/orgs","repos_url":"https://api.github.com/users/hhtran/repos","events_url":"https://api.github.com/users/hhtran/events{/privacy}","received_events_url":"https://api.github.com/users/hhtran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hhtran/react-bootstrap","description":"Bootstrap 3 components built with React","fork":true,"url":"https://api.github.com/repos/hhtran/react-bootstrap","forks_url":"https://api.github.com/repos/hhtran/react-bootstrap/forks","keys_url":"https://api.github.com/repos/hhtran/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hhtran/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hhtran/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/hhtran/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/hhtran/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/hhtran/react-bootstrap/events","assignees_url":"https://api.github.com/repos/hhtran/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/hhtran/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/hhtran/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/hhtran/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hhtran/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hhtran/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/hhtran/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hhtran/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/hhtran/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/hhtran/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/hhtran/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/hhtran/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/hhtran/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/hhtran/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/hhtran/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/hhtran/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/hhtran/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/hhtran/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/hhtran/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hhtran/react-bootstrap/merges","archive_url":"https://api.github.com/repos/hhtran/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hhtran/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/hhtran/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/hhtran/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/hhtran/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/hhtran/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hhtran/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/hhtran/react-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/hhtran/react-bootstrap/deployments","created_at":"2016-03-30T09:13:38Z","updated_at":"2016-03-30T09:13:40Z","pushed_at":"2016-03-31T18:31:07Z","git_url":"git://github.com/hhtran/react-bootstrap.git","ssh_url":"git@github.com:hhtran/react-bootstrap.git","clone_url":"https://github.com/hhtran/react-bootstrap.git","svn_url":"https://github.com/hhtran/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":4252,"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":"react-bootstrap:master","ref":"master","sha":"17f10729a29995447d2fdfce6f1636d24f9c634e","user":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"repo":{"id":15480067,"name":"react-bootstrap","full_name":"react-bootstrap/react-bootstrap","owner":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/react-bootstrap/react-bootstrap","description":"Bootstrap 3 components built with React","fork":false,"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap","forks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/forks","keys_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/teams","hooks_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/events","assignees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/tags","blobs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/languages","stargazers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/subscription","commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/merges","archive_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/downloads","issues_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/deployments","created_at":"2013-12-27T19:06:07Z","updated_at":"2016-03-31T19:16:29Z","pushed_at":"2016-03-31T19:37:47Z","git_url":"git://github.com/react-bootstrap/react-bootstrap.git","ssh_url":"git@github.com:react-bootstrap/react-bootstrap.git","clone_url":"https://github.com/react-bootstrap/react-bootstrap.git","svn_url":"https://github.com/react-bootstrap/react-bootstrap","homepage":"http://react-bootstrap.github.io/","size":6751,"stargazers_count":5354,"watchers_count":5354,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":880,"mirror_url":null,"open_issues_count":43,"forks":880,"open_issues":43,"watchers":5354,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733"},"html":{"href":"https://github.com/react-bootstrap/react-bootstrap/pull/1733"},"issue":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1733"},"comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/1733/comments"},"review_comments":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733/comments"},"review_comment":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/1733/commits"},"statuses":{"href":"https://api.github.com/repos/react-bootstrap/react-bootstrap/statuses/67bb53e26ce3e136d30a3078258ee0e44e8b9362"}}}}