{"action":"created","comment":{"url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/comments/73250921","id":73250921,"diff_hunk":"@@ -32,6 +34,35 @@ export function getClipboardRepresentation (entity, componentName) {\n   return AFRAME.utils.styleParser.stringify(diff);\n }\n \n+/**\n+ * Get the component docs link\n+ * @param  {string} componentName Component's name\n+ * @return {string}               URL to the documentation\n+ */\n+export function getComponentDocsUrl (componentName) {\n+  if (AFRAME.components[componentName]) {\n+    // Returns link from the core components\n+    return 'https://aframe.io/docs/' + AFRAME.version + '/components/' +\n+      (componentName === 'camera' ? '' : componentName.toLowerCase() + '.html');\n+  }\n+  return null;","path":"src/actions/component.js","position":21,"original_position":21,"commit_id":"bb793911be4e72e6b454883d6af16d5d43ab382a","original_commit_id":"bb793911be4e72e6b454883d6af16d5d43ab382a","user":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"body":"I mean if you get rid of this line, it will return undefined by default, which seems suitable.","created_at":"2016-08-02T22:34:21Z","updated_at":"2016-08-02T22:34:21Z","html_url":"https://github.com/aframevr/aframe-inspector/pull/232#discussion_r73250921","pull_request_url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232","_links":{"self":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/comments/73250921"},"html":{"href":"https://github.com/aframevr/aframe-inspector/pull/232#discussion_r73250921"},"pull_request":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232"}}},"pull_request":{"url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232","id":79814807,"html_url":"https://github.com/aframevr/aframe-inspector/pull/232","diff_url":"https://github.com/aframevr/aframe-inspector/pull/232.diff","patch_url":"https://github.com/aframevr/aframe-inspector/pull/232.patch","issue_url":"https://api.github.com/repos/aframevr/aframe-inspector/issues/232","number":232,"state":"open","locked":false,"title":"Add docs links for common components. Fixes #212","user":{"login":"fernandojsg","id":782511,"avatar_url":"https://avatars.githubusercontent.com/u/782511?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandojsg","html_url":"https://github.com/fernandojsg","followers_url":"https://api.github.com/users/fernandojsg/followers","following_url":"https://api.github.com/users/fernandojsg/following{/other_user}","gists_url":"https://api.github.com/users/fernandojsg/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandojsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandojsg/subscriptions","organizations_url":"https://api.github.com/users/fernandojsg/orgs","repos_url":"https://api.github.com/users/fernandojsg/repos","events_url":"https://api.github.com/users/fernandojsg/events{/privacy}","received_events_url":"https://api.github.com/users/fernandojsg/received_events","type":"User","site_admin":false},"body":"Added help icon button next to the common components (position, rotation, scale, visible)\r\n<img width=\"329\" alt=\"screenshot 2016-08-02 23 45 56\" src=\"https://cloud.githubusercontent.com/assets/782511/17346527/5e84c8bc-590b-11e6-9a19-8bcf139942ca.png\">\r\n","created_at":"2016-08-02T21:46:54Z","updated_at":"2016-08-02T22:34:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00731023c8e48128a47cbfb12f60b065d63404f8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232/commits","review_comments_url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232/comments","review_comment_url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aframevr/aframe-inspector/issues/232/comments","statuses_url":"https://api.github.com/repos/aframevr/aframe-inspector/statuses/bb793911be4e72e6b454883d6af16d5d43ab382a","head":{"label":"fernandojsg:common_help","ref":"common_help","sha":"bb793911be4e72e6b454883d6af16d5d43ab382a","user":{"login":"fernandojsg","id":782511,"avatar_url":"https://avatars.githubusercontent.com/u/782511?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandojsg","html_url":"https://github.com/fernandojsg","followers_url":"https://api.github.com/users/fernandojsg/followers","following_url":"https://api.github.com/users/fernandojsg/following{/other_user}","gists_url":"https://api.github.com/users/fernandojsg/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandojsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandojsg/subscriptions","organizations_url":"https://api.github.com/users/fernandojsg/orgs","repos_url":"https://api.github.com/users/fernandojsg/repos","events_url":"https://api.github.com/users/fernandojsg/events{/privacy}","received_events_url":"https://api.github.com/users/fernandojsg/received_events","type":"User","site_admin":false},"repo":{"id":62347217,"name":"aframe-editor","full_name":"fernandojsg/aframe-editor","owner":{"login":"fernandojsg","id":782511,"avatar_url":"https://avatars.githubusercontent.com/u/782511?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandojsg","html_url":"https://github.com/fernandojsg","followers_url":"https://api.github.com/users/fernandojsg/followers","following_url":"https://api.github.com/users/fernandojsg/following{/other_user}","gists_url":"https://api.github.com/users/fernandojsg/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandojsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandojsg/subscriptions","organizations_url":"https://api.github.com/users/fernandojsg/orgs","repos_url":"https://api.github.com/users/fernandojsg/repos","events_url":"https://api.github.com/users/fernandojsg/events{/privacy}","received_events_url":"https://api.github.com/users/fernandojsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fernandojsg/aframe-editor","description":"A-frame editor","fork":true,"url":"https://api.github.com/repos/fernandojsg/aframe-editor","forks_url":"https://api.github.com/repos/fernandojsg/aframe-editor/forks","keys_url":"https://api.github.com/repos/fernandojsg/aframe-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fernandojsg/aframe-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fernandojsg/aframe-editor/teams","hooks_url":"https://api.github.com/repos/fernandojsg/aframe-editor/hooks","issue_events_url":"https://api.github.com/repos/fernandojsg/aframe-editor/issues/events{/number}","events_url":"https://api.github.com/repos/fernandojsg/aframe-editor/events","assignees_url":"https://api.github.com/repos/fernandojsg/aframe-editor/assignees{/user}","branches_url":"https://api.github.com/repos/fernandojsg/aframe-editor/branches{/branch}","tags_url":"https://api.github.com/repos/fernandojsg/aframe-editor/tags","blobs_url":"https://api.github.com/repos/fernandojsg/aframe-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fernandojsg/aframe-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fernandojsg/aframe-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/fernandojsg/aframe-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fernandojsg/aframe-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/fernandojsg/aframe-editor/languages","stargazers_url":"https://api.github.com/repos/fernandojsg/aframe-editor/stargazers","contributors_url":"https://api.github.com/repos/fernandojsg/aframe-editor/contributors","subscribers_url":"https://api.github.com/repos/fernandojsg/aframe-editor/subscribers","subscription_url":"https://api.github.com/repos/fernandojsg/aframe-editor/subscription","commits_url":"https://api.github.com/repos/fernandojsg/aframe-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/fernandojsg/aframe-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/fernandojsg/aframe-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/fernandojsg/aframe-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/fernandojsg/aframe-editor/contents/{+path}","compare_url":"https://api.github.com/repos/fernandojsg/aframe-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fernandojsg/aframe-editor/merges","archive_url":"https://api.github.com/repos/fernandojsg/aframe-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fernandojsg/aframe-editor/downloads","issues_url":"https://api.github.com/repos/fernandojsg/aframe-editor/issues{/number}","pulls_url":"https://api.github.com/repos/fernandojsg/aframe-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/fernandojsg/aframe-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/fernandojsg/aframe-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fernandojsg/aframe-editor/labels{/name}","releases_url":"https://api.github.com/repos/fernandojsg/aframe-editor/releases{/id}","deployments_url":"https://api.github.com/repos/fernandojsg/aframe-editor/deployments","created_at":"2016-06-30T22:56:38Z","updated_at":"2016-06-30T22:56:40Z","pushed_at":"2016-08-02T22:32:18Z","git_url":"git://github.com/fernandojsg/aframe-editor.git","ssh_url":"git@github.com:fernandojsg/aframe-editor.git","clone_url":"https://github.com/fernandojsg/aframe-editor.git","svn_url":"https://github.com/fernandojsg/aframe-editor","homepage":null,"size":17215,"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":"aframevr:master","ref":"master","sha":"b9d0c85fc4aa4245b1dba340fb697dad0a2fd05a","user":{"login":"aframevr","id":16024092,"avatar_url":"https://avatars.githubusercontent.com/u/16024092?v=3","gravatar_id":"","url":"https://api.github.com/users/aframevr","html_url":"https://github.com/aframevr","followers_url":"https://api.github.com/users/aframevr/followers","following_url":"https://api.github.com/users/aframevr/following{/other_user}","gists_url":"https://api.github.com/users/aframevr/gists{/gist_id}","starred_url":"https://api.github.com/users/aframevr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aframevr/subscriptions","organizations_url":"https://api.github.com/users/aframevr/orgs","repos_url":"https://api.github.com/users/aframevr/repos","events_url":"https://api.github.com/users/aframevr/events{/privacy}","received_events_url":"https://api.github.com/users/aframevr/received_events","type":"Organization","site_admin":false},"repo":{"id":59284953,"name":"aframe-inspector","full_name":"aframevr/aframe-inspector","owner":{"login":"aframevr","id":16024092,"avatar_url":"https://avatars.githubusercontent.com/u/16024092?v=3","gravatar_id":"","url":"https://api.github.com/users/aframevr","html_url":"https://github.com/aframevr","followers_url":"https://api.github.com/users/aframevr/followers","following_url":"https://api.github.com/users/aframevr/following{/other_user}","gists_url":"https://api.github.com/users/aframevr/gists{/gist_id}","starred_url":"https://api.github.com/users/aframevr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aframevr/subscriptions","organizations_url":"https://api.github.com/users/aframevr/orgs","repos_url":"https://api.github.com/users/aframevr/repos","events_url":"https://api.github.com/users/aframevr/events{/privacy}","received_events_url":"https://api.github.com/users/aframevr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aframevr/aframe-inspector","description":"(work in progress) An inspector for A-Frame scenes","fork":false,"url":"https://api.github.com/repos/aframevr/aframe-inspector","forks_url":"https://api.github.com/repos/aframevr/aframe-inspector/forks","keys_url":"https://api.github.com/repos/aframevr/aframe-inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aframevr/aframe-inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aframevr/aframe-inspector/teams","hooks_url":"https://api.github.com/repos/aframevr/aframe-inspector/hooks","issue_events_url":"https://api.github.com/repos/aframevr/aframe-inspector/issues/events{/number}","events_url":"https://api.github.com/repos/aframevr/aframe-inspector/events","assignees_url":"https://api.github.com/repos/aframevr/aframe-inspector/assignees{/user}","branches_url":"https://api.github.com/repos/aframevr/aframe-inspector/branches{/branch}","tags_url":"https://api.github.com/repos/aframevr/aframe-inspector/tags","blobs_url":"https://api.github.com/repos/aframevr/aframe-inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aframevr/aframe-inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aframevr/aframe-inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/aframevr/aframe-inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aframevr/aframe-inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/aframevr/aframe-inspector/languages","stargazers_url":"https://api.github.com/repos/aframevr/aframe-inspector/stargazers","contributors_url":"https://api.github.com/repos/aframevr/aframe-inspector/contributors","subscribers_url":"https://api.github.com/repos/aframevr/aframe-inspector/subscribers","subscription_url":"https://api.github.com/repos/aframevr/aframe-inspector/subscription","commits_url":"https://api.github.com/repos/aframevr/aframe-inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/aframevr/aframe-inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/aframevr/aframe-inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/aframevr/aframe-inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/aframevr/aframe-inspector/contents/{+path}","compare_url":"https://api.github.com/repos/aframevr/aframe-inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aframevr/aframe-inspector/merges","archive_url":"https://api.github.com/repos/aframevr/aframe-inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aframevr/aframe-inspector/downloads","issues_url":"https://api.github.com/repos/aframevr/aframe-inspector/issues{/number}","pulls_url":"https://api.github.com/repos/aframevr/aframe-inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/aframevr/aframe-inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/aframevr/aframe-inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aframevr/aframe-inspector/labels{/name}","releases_url":"https://api.github.com/repos/aframevr/aframe-inspector/releases{/id}","deployments_url":"https://api.github.com/repos/aframevr/aframe-inspector/deployments","created_at":"2016-05-20T10:10:10Z","updated_at":"2016-08-02T20:43:58Z","pushed_at":"2016-08-02T21:46:54Z","git_url":"git://github.com/aframevr/aframe-inspector.git","ssh_url":"git@github.com:aframevr/aframe-inspector.git","clone_url":"https://github.com/aframevr/aframe-inspector.git","svn_url":"https://github.com/aframevr/aframe-inspector","homepage":"https://aframe.io/aframe-inspector/example/","size":17347,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":89,"forks":14,"open_issues":89,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232"},"html":{"href":"https://github.com/aframevr/aframe-inspector/pull/232"},"issue":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/issues/232"},"comments":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/issues/232/comments"},"review_comments":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232/comments"},"review_comment":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/pulls/232/commits"},"statuses":{"href":"https://api.github.com/repos/aframevr/aframe-inspector/statuses/bb793911be4e72e6b454883d6af16d5d43ab382a"}}}}
{"actor":{"display_login":"ngokevin"}}