GitHub PullRequestReviewCommentEvent at 2014-09-09 21:57:07
Repository: react
Actor: zpao
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/17331035","id":17331035,"diff_hunk":"@@ -21,3 +21,5 @@ The add-ons below are in the development (unminified) version of React only:\n - [`Perf`](perf.html), for measuring performance and giving you hint where to optimize.\n \n To get the add-ons, use `react-with-addons.js` (and its minified counterpart) rather than the common `react.js`.\n+\n+If using require in node, then use `require('react/addons')`.","path":"docs/docs/09-addons.md","position":5,"original_position":5,"commit_id":"e8e50986c58c9f32a3ae0d1005748ac7db33f01f","original_commit_id":"e8e50986c58c9f32a3ae0d1005748ac7db33f01f","user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=2","gravatar_id":"10e6f9e15d7148c230fce273ee1865ee","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"body":"Excellent. Want to update this PR or would you prefer I just add it in? (no need for me to steal credit, it was your idea!)","created_at":"2014-09-09T21:57:07Z","updated_at":"2014-09-09T21:57:07Z","html_url":"https://github.com/facebook/react/pull/2170#discussion_r17331035","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/2170","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/17331035"},"html":{"href":"https://github.com/facebook/react/pull/2170#discussion_r17331035"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/2170"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/2170","id":20952106,"html_url":"https://github.com/facebook/react/pull/2170","diff_url":"https://github.com/facebook/react/pull/2170.diff","patch_url":"https://github.com/facebook/react/pull/2170.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/2170","number":2170,"state":"open","locked":false,"title":"Added extra explanation for require() statements","user":{"login":"undernewmanagement","id":351998,"avatar_url":"https://avatars.githubusercontent.com/u/351998?v=2","gravatar_id":"7644dc538862266c364836a90c6b5793","url":"https://api.github.com/users/undernewmanagement","html_url":"https://github.com/undernewmanagement","followers_url":"https://api.github.com/users/undernewmanagement/followers","following_url":"https://api.github.com/users/undernewmanagement/following{/other_user}","gists_url":"https://api.github.com/users/undernewmanagement/gists{/gist_id}","starred_url":"https://api.github.com/users/undernewmanagement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undernewmanagement/subscriptions","organizations_url":"https://api.github.com/users/undernewmanagement/orgs","repos_url":"https://api.github.com/users/undernewmanagement/repos","events_url":"https://api.github.com/users/undernewmanagement/events{/privacy}","received_events_url":"https://api.github.com/users/undernewmanagement/received_events","type":"User","site_admin":false},"body":"Just thought it would be nice to know how to use this using require() statements.","created_at":"2014-09-09T12:39:52Z","updated_at":"2014-09-09T21:57:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5d8d87190ac787a2d4e5e9f7bb681109c7c1798","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/2170/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/2170/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments/{number}","comments_url":"https://api.github.com/repos/facebook/react/issues/2170/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/e8e50986c58c9f32a3ae0d1005748ac7db33f01f","head":{"label":"undernewmanagement:patch-1","ref":"patch-1","sha":"e8e50986c58c9f32a3ae0d1005748ac7db33f01f","user":{"login":"undernewmanagement","id":351998,"avatar_url":"https://avatars.githubusercontent.com/u/351998?v=2","gravatar_id":"7644dc538862266c364836a90c6b5793","url":"https://api.github.com/users/undernewmanagement","html_url":"https://github.com/undernewmanagement","followers_url":"https://api.github.com/users/undernewmanagement/followers","following_url":"https://api.github.com/users/undernewmanagement/following{/other_user}","gists_url":"https://api.github.com/users/undernewmanagement/gists{/gist_id}","starred_url":"https://api.github.com/users/undernewmanagement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undernewmanagement/subscriptions","organizations_url":"https://api.github.com/users/undernewmanagement/orgs","repos_url":"https://api.github.com/users/undernewmanagement/repos","events_url":"https://api.github.com/users/undernewmanagement/events{/privacy}","received_events_url":"https://api.github.com/users/undernewmanagement/received_events","type":"User","site_admin":false},"repo":{"id":23832820,"name":"react","full_name":"undernewmanagement/react","owner":{"login":"undernewmanagement","id":351998,"avatar_url":"https://avatars.githubusercontent.com/u/351998?v=2","gravatar_id":"7644dc538862266c364836a90c6b5793","url":"https://api.github.com/users/undernewmanagement","html_url":"https://github.com/undernewmanagement","followers_url":"https://api.github.com/users/undernewmanagement/followers","following_url":"https://api.github.com/users/undernewmanagement/following{/other_user}","gists_url":"https://api.github.com/users/undernewmanagement/gists{/gist_id}","starred_url":"https://api.github.com/users/undernewmanagement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undernewmanagement/subscriptions","organizations_url":"https://api.github.com/users/undernewmanagement/orgs","repos_url":"https://api.github.com/users/undernewmanagement/repos","events_url":"https://api.github.com/users/undernewmanagement/events{/privacy}","received_events_url":"https://api.github.com/users/undernewmanagement/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/undernewmanagement/react","description":"React is a JavaScript library for building user interfaces. It's declarative, efficient, and extremely flexible. What's more, it works with the libraries and frameworks that you already know.","fork":true,"url":"https://api.github.com/repos/undernewmanagement/react","forks_url":"https://api.github.com/repos/undernewmanagement/react/forks","keys_url":"https://api.github.com/repos/undernewmanagement/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/undernewmanagement/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/undernewmanagement/react/teams","hooks_url":"https://api.github.com/repos/undernewmanagement/react/hooks","issue_events_url":"https://api.github.com/repos/undernewmanagement/react/issues/events{/number}","events_url":"https://api.github.com/repos/undernewmanagement/react/events","assignees_url":"https://api.github.com/repos/undernewmanagement/react/assignees{/user}","branches_url":"https://api.github.com/repos/undernewmanagement/react/branches{/branch}","tags_url":"https://api.github.com/repos/undernewmanagement/react/tags","blobs_url":"https://api.github.com/repos/undernewmanagement/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/undernewmanagement/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/undernewmanagement/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/undernewmanagement/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/undernewmanagement/react/statuses/{sha}","languages_url":"https://api.github.com/repos/undernewmanagement/react/languages","stargazers_url":"https://api.github.com/repos/undernewmanagement/react/stargazers","contributors_url":"https://api.github.com/repos/undernewmanagement/react/contributors","subscribers_url":"https://api.github.com/repos/undernewmanagement/react/subscribers","subscription_url":"https://api.github.com/repos/undernewmanagement/react/subscription","commits_url":"https://api.github.com/repos/undernewmanagement/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/undernewmanagement/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/undernewmanagement/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/undernewmanagement/react/issues/comments/{number}","contents_url":"https://api.github.com/repos/undernewmanagement/react/contents/{+path}","compare_url":"https://api.github.com/repos/undernewmanagement/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/undernewmanagement/react/merges","archive_url":"https://api.github.com/repos/undernewmanagement/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/undernewmanagement/react/downloads","issues_url":"https://api.github.com/repos/undernewmanagement/react/issues{/number}","pulls_url":"https://api.github.com/repos/undernewmanagement/react/pulls{/number}","milestones_url":"https://api.github.com/repos/undernewmanagement/react/milestones{/number}","notifications_url":"https://api.github.com/repos/undernewmanagement/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/undernewmanagement/react/labels{/name}","releases_url":"https://api.github.com/repos/undernewmanagement/react/releases{/id}","created_at":"2014-09-09T12:38:04Z","updated_at":"2014-09-09T11:49:33Z","pushed_at":"2014-09-09T12:39:09Z","git_url":"git://github.com/undernewmanagement/react.git","ssh_url":"git@github.com:undernewmanagement/react.git","clone_url":"https://github.com/undernewmanagement/react.git","svn_url":"https://github.com/undernewmanagement/react","homepage":"http://facebook.github.io/react/","size":72480,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"5d88ebbecba10dd16023aca6e8fe4eb41feca29f","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=2","gravatar_id":"18a83f753fa76b3ea0d594247f4c93b1","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=2","gravatar_id":"18a83f753fa76b3ea0d594247f4c93b1","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"React is a JavaScript library for building user interfaces. It's declarative, efficient, and extremely flexible. What's more, it works with the libraries and frameworks that you already know.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments/{number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2014-09-09T20:56:47Z","pushed_at":"2014-09-09T16:41:51Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"http://facebook.github.io/react/","size":72480,"stargazers_count":8915,"watchers_count":8915,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1204,"mirror_url":null,"open_issues_count":381,"forks":1204,"open_issues":381,"watchers":8915,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/2170"},"html":{"href":"https://github.com/facebook/react/pull/2170"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/2170"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/2170/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/2170/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/2170/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/e8e50986c58c9f32a3ae0d1005748ac7db33f01f"}}}}