{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6","id":41730533,"html_url":"https://github.com/pocotan001/react-styleguide-generator/pull/6","diff_url":"https://github.com/pocotan001/react-styleguide-generator/pull/6.diff","patch_url":"https://github.com/pocotan001/react-styleguide-generator/pull/6.patch","issue_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/6","number":6,"state":"open","locked":false,"title":"Fix error on default props but no propTypes","user":{"login":"theogravity","id":855434,"avatar_url":"https://avatars.githubusercontent.com/u/855434?v=3","gravatar_id":"","url":"https://api.github.com/users/theogravity","html_url":"https://github.com/theogravity","followers_url":"https://api.github.com/users/theogravity/followers","following_url":"https://api.github.com/users/theogravity/following{/other_user}","gists_url":"https://api.github.com/users/theogravity/gists{/gist_id}","starred_url":"https://api.github.com/users/theogravity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theogravity/subscriptions","organizations_url":"https://api.github.com/users/theogravity/orgs","repos_url":"https://api.github.com/users/theogravity/repos","events_url":"https://api.github.com/users/theogravity/events{/privacy}","received_events_url":"https://api.github.com/users/theogravity/received_events","type":"User","site_admin":false},"body":"This fixes a bug where the styleguide does not display when you have a default prop defined but no proptypes:\r\n\r\n```\r\npropTypes: {\r\n    someValue: 1\r\n}\r\n\r\ngetDefaultProps() {\r\n    return {\r\n        someValue: 0\r\n        someOtherValue: 1\r\n    }\r\n}\r\n```\r\n\r\nIn the above case, `someOtherValue` would cause the guide to break because it is not in the `propTypes`. I have situations where I want to do this.","created_at":"2015-08-05T21:51:13Z","updated_at":"2015-08-05T21:51:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6/commits","review_comments_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6/comments","review_comment_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/6/comments","statuses_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/statuses/c75d9b69f73aadcc76ea3d2d196e8066db7b8257","head":{"label":"theogravity:fix-no-props-but-default","ref":"fix-no-props-but-default","sha":"c75d9b69f73aadcc76ea3d2d196e8066db7b8257","user":{"login":"theogravity","id":855434,"avatar_url":"https://avatars.githubusercontent.com/u/855434?v=3","gravatar_id":"","url":"https://api.github.com/users/theogravity","html_url":"https://github.com/theogravity","followers_url":"https://api.github.com/users/theogravity/followers","following_url":"https://api.github.com/users/theogravity/following{/other_user}","gists_url":"https://api.github.com/users/theogravity/gists{/gist_id}","starred_url":"https://api.github.com/users/theogravity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theogravity/subscriptions","organizations_url":"https://api.github.com/users/theogravity/orgs","repos_url":"https://api.github.com/users/theogravity/repos","events_url":"https://api.github.com/users/theogravity/events{/privacy}","received_events_url":"https://api.github.com/users/theogravity/received_events","type":"User","site_admin":false},"repo":{"id":38908279,"name":"react-styleguide-generator","full_name":"theogravity/react-styleguide-generator","owner":{"login":"theogravity","id":855434,"avatar_url":"https://avatars.githubusercontent.com/u/855434?v=3","gravatar_id":"","url":"https://api.github.com/users/theogravity","html_url":"https://github.com/theogravity","followers_url":"https://api.github.com/users/theogravity/followers","following_url":"https://api.github.com/users/theogravity/following{/other_user}","gists_url":"https://api.github.com/users/theogravity/gists{/gist_id}","starred_url":"https://api.github.com/users/theogravity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theogravity/subscriptions","organizations_url":"https://api.github.com/users/theogravity/orgs","repos_url":"https://api.github.com/users/theogravity/repos","events_url":"https://api.github.com/users/theogravity/events{/privacy}","received_events_url":"https://api.github.com/users/theogravity/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theogravity/react-styleguide-generator","description":"Easily generate a good-looking styleguide by adding some documentation to your React project.","fork":true,"url":"https://api.github.com/repos/theogravity/react-styleguide-generator","forks_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/forks","keys_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/teams","hooks_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/hooks","issue_events_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/issues/events{/number}","events_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/events","assignees_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/assignees{/user}","branches_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/branches{/branch}","tags_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/tags","blobs_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/languages","stargazers_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/stargazers","contributors_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/contributors","subscribers_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/subscribers","subscription_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/subscription","commits_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/contents/{+path}","compare_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/merges","archive_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/downloads","issues_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/issues{/number}","pulls_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/labels{/name}","releases_url":"https://api.github.com/repos/theogravity/react-styleguide-generator/releases{/id}","created_at":"2015-07-11T00:53:14Z","updated_at":"2015-07-11T00:53:14Z","pushed_at":"2015-08-05T21:48:40Z","git_url":"git://github.com/theogravity/react-styleguide-generator.git","ssh_url":"git@github.com:theogravity/react-styleguide-generator.git","clone_url":"https://github.com/theogravity/react-styleguide-generator.git","svn_url":"https://github.com/theogravity/react-styleguide-generator","homepage":"http://pocotan001.github.io/react-styleguide-generator","size":4158,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pocotan001:master","ref":"master","sha":"823b7656c0d3db055ebd676a729738f1909c6dc9","user":{"login":"pocotan001","id":869065,"avatar_url":"https://avatars.githubusercontent.com/u/869065?v=3","gravatar_id":"","url":"https://api.github.com/users/pocotan001","html_url":"https://github.com/pocotan001","followers_url":"https://api.github.com/users/pocotan001/followers","following_url":"https://api.github.com/users/pocotan001/following{/other_user}","gists_url":"https://api.github.com/users/pocotan001/gists{/gist_id}","starred_url":"https://api.github.com/users/pocotan001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocotan001/subscriptions","organizations_url":"https://api.github.com/users/pocotan001/orgs","repos_url":"https://api.github.com/users/pocotan001/repos","events_url":"https://api.github.com/users/pocotan001/events{/privacy}","received_events_url":"https://api.github.com/users/pocotan001/received_events","type":"User","site_admin":false},"repo":{"id":37366203,"name":"react-styleguide-generator","full_name":"pocotan001/react-styleguide-generator","owner":{"login":"pocotan001","id":869065,"avatar_url":"https://avatars.githubusercontent.com/u/869065?v=3","gravatar_id":"","url":"https://api.github.com/users/pocotan001","html_url":"https://github.com/pocotan001","followers_url":"https://api.github.com/users/pocotan001/followers","following_url":"https://api.github.com/users/pocotan001/following{/other_user}","gists_url":"https://api.github.com/users/pocotan001/gists{/gist_id}","starred_url":"https://api.github.com/users/pocotan001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocotan001/subscriptions","organizations_url":"https://api.github.com/users/pocotan001/orgs","repos_url":"https://api.github.com/users/pocotan001/repos","events_url":"https://api.github.com/users/pocotan001/events{/privacy}","received_events_url":"https://api.github.com/users/pocotan001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pocotan001/react-styleguide-generator","description":"Easily generate a good-looking styleguide by adding some documentation to your React project.","fork":false,"url":"https://api.github.com/repos/pocotan001/react-styleguide-generator","forks_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/forks","keys_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/teams","hooks_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/hooks","issue_events_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/events{/number}","events_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/events","assignees_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/assignees{/user}","branches_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/branches{/branch}","tags_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/tags","blobs_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/statuses/{sha}","languages_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/languages","stargazers_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/stargazers","contributors_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/contributors","subscribers_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/subscribers","subscription_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/subscription","commits_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/contents/{+path}","compare_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/merges","archive_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/downloads","issues_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues{/number}","pulls_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls{/number}","milestones_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/milestones{/number}","notifications_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/labels{/name}","releases_url":"https://api.github.com/repos/pocotan001/react-styleguide-generator/releases{/id}","created_at":"2015-06-13T09:48:39Z","updated_at":"2015-08-05T19:04:39Z","pushed_at":"2015-08-05T21:51:14Z","git_url":"git://github.com/pocotan001/react-styleguide-generator.git","ssh_url":"git@github.com:pocotan001/react-styleguide-generator.git","clone_url":"https://github.com/pocotan001/react-styleguide-generator.git","svn_url":"https://github.com/pocotan001/react-styleguide-generator","homepage":"http://pocotan001.github.io/react-styleguide-generator","size":4770,"stargazers_count":159,"watchers_count":159,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6"},"html":{"href":"https://github.com/pocotan001/react-styleguide-generator/pull/6"},"issue":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/6"},"comments":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/pocotan001/react-styleguide-generator/statuses/c75d9b69f73aadcc76ea3d2d196e8066db7b8257"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":7,"changed_files":2}}