{"action":"created","comment":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments/176026163","pull_request_review_id":105653922,"id":176026163,"diff_hunk":"@@ -68,19 +68,18 @@ export class Outline extends Component<Props> {\n     if (!selectedSource) {\n       return;\n     }\n-\n-    const sourceLine = func.location.start.line;\n-    const functionText = getFunctionText(sourceLine);\n-\n     const copyFunctionItem = {\n       id: \"node-menu-copy-function\",\n       label: copyFunctionLabel,\n       accesskey: copyFunctionKey,\n-      disabled: !functionText,\n+      disabled: false,","path":"src/components/PrimaryPanes/Outline.js","position":null,"original_position":13,"commit_id":"e25226d4cb06a7e86c2df4e69aa57c989fad49f7","original_commit_id":"7b241bdbdff5a669085d24cca08de60197102a8c","user":{"login":"escaton","id":2072871,"avatar_url":"https://avatars1.githubusercontent.com/u/2072871?v=4","gravatar_id":"","url":"https://api.github.com/users/escaton","html_url":"https://github.com/escaton","followers_url":"https://api.github.com/users/escaton/followers","following_url":"https://api.github.com/users/escaton/following{/other_user}","gists_url":"https://api.github.com/users/escaton/gists{/gist_id}","starred_url":"https://api.github.com/users/escaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escaton/subscriptions","organizations_url":"https://api.github.com/users/escaton/orgs","repos_url":"https://api.github.com/users/escaton/repos","events_url":"https://api.github.com/users/escaton/events{/privacy}","received_events_url":"https://api.github.com/users/escaton/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-03-21T09:50:06Z","updated_at":"2018-03-21T09:50:06Z","html_url":"https://github.com/devtools-html/debugger.html/pull/5725#discussion_r176026163","pull_request_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments/176026163"},"html":{"href":"https://github.com/devtools-html/debugger.html/pull/5725#discussion_r176026163"},"pull_request":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725"}},"in_reply_to_id":175798240},"pull_request":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725","id":176112332,"html_url":"https://github.com/devtools-html/debugger.html/pull/5725","diff_url":"https://github.com/devtools-html/debugger.html/pull/5725.diff","patch_url":"https://github.com/devtools-html/debugger.html/pull/5725.patch","issue_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5725","number":5725,"state":"open","locked":false,"title":"[Outline] Add \"Copy Function\" context menu item to functions","user":{"login":"escaton","id":2072871,"avatar_url":"https://avatars1.githubusercontent.com/u/2072871?v=4","gravatar_id":"","url":"https://api.github.com/users/escaton","html_url":"https://github.com/escaton","followers_url":"https://api.github.com/users/escaton/followers","following_url":"https://api.github.com/users/escaton/following{/other_user}","gists_url":"https://api.github.com/users/escaton/gists{/gist_id}","starred_url":"https://api.github.com/users/escaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escaton/subscriptions","organizations_url":"https://api.github.com/users/escaton/orgs","repos_url":"https://api.github.com/users/escaton/repos","events_url":"https://api.github.com/users/escaton/events{/privacy}","received_events_url":"https://api.github.com/users/escaton/received_events","type":"User","site_admin":false},"body":"Fixes Issue: #5352\r\n\r\n### Summary of Changes\r\n\r\n* Add \"Copy Function\" context menu item to functions in Outline tab\r\n\r\n### Test Plan\r\n\r\n- [x] Open any source with functions\r\n- [x] Open Outline tab\r\n- [x] Open context menu on any function\r\n- [x] Clicking \"copy function\" copies function body\r\n","created_at":"2018-03-20T07:57:01Z","updated_at":"2018-03-21T09:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbfc03debc84e98a7bdcd66f813e8829e0c84d05","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":731965385,"url":"https://api.github.com/repos/devtools-html/debugger.html/labels/pr-needs-review","name":"pr-needs-review","color":"bfd4f2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725/commits","review_comments_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725/comments","review_comment_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/5725/comments","statuses_url":"https://api.github.com/repos/devtools-html/debugger.html/statuses/e25226d4cb06a7e86c2df4e69aa57c989fad49f7","head":{"label":"escaton:outline-copy-function","ref":"outline-copy-function","sha":"e25226d4cb06a7e86c2df4e69aa57c989fad49f7","user":{"login":"escaton","id":2072871,"avatar_url":"https://avatars1.githubusercontent.com/u/2072871?v=4","gravatar_id":"","url":"https://api.github.com/users/escaton","html_url":"https://github.com/escaton","followers_url":"https://api.github.com/users/escaton/followers","following_url":"https://api.github.com/users/escaton/following{/other_user}","gists_url":"https://api.github.com/users/escaton/gists{/gist_id}","starred_url":"https://api.github.com/users/escaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escaton/subscriptions","organizations_url":"https://api.github.com/users/escaton/orgs","repos_url":"https://api.github.com/users/escaton/repos","events_url":"https://api.github.com/users/escaton/events{/privacy}","received_events_url":"https://api.github.com/users/escaton/received_events","type":"User","site_admin":false},"repo":{"id":125718952,"name":"debugger.html","full_name":"escaton/debugger.html","owner":{"login":"escaton","id":2072871,"avatar_url":"https://avatars1.githubusercontent.com/u/2072871?v=4","gravatar_id":"","url":"https://api.github.com/users/escaton","html_url":"https://github.com/escaton","followers_url":"https://api.github.com/users/escaton/followers","following_url":"https://api.github.com/users/escaton/following{/other_user}","gists_url":"https://api.github.com/users/escaton/gists{/gist_id}","starred_url":"https://api.github.com/users/escaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escaton/subscriptions","organizations_url":"https://api.github.com/users/escaton/orgs","repos_url":"https://api.github.com/users/escaton/repos","events_url":"https://api.github.com/users/escaton/events{/privacy}","received_events_url":"https://api.github.com/users/escaton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/escaton/debugger.html","description":"The Firefox debugger that works anywhere  :boom:","fork":true,"url":"https://api.github.com/repos/escaton/debugger.html","forks_url":"https://api.github.com/repos/escaton/debugger.html/forks","keys_url":"https://api.github.com/repos/escaton/debugger.html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/escaton/debugger.html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/escaton/debugger.html/teams","hooks_url":"https://api.github.com/repos/escaton/debugger.html/hooks","issue_events_url":"https://api.github.com/repos/escaton/debugger.html/issues/events{/number}","events_url":"https://api.github.com/repos/escaton/debugger.html/events","assignees_url":"https://api.github.com/repos/escaton/debugger.html/assignees{/user}","branches_url":"https://api.github.com/repos/escaton/debugger.html/branches{/branch}","tags_url":"https://api.github.com/repos/escaton/debugger.html/tags","blobs_url":"https://api.github.com/repos/escaton/debugger.html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/escaton/debugger.html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/escaton/debugger.html/git/refs{/sha}","trees_url":"https://api.github.com/repos/escaton/debugger.html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/escaton/debugger.html/statuses/{sha}","languages_url":"https://api.github.com/repos/escaton/debugger.html/languages","stargazers_url":"https://api.github.com/repos/escaton/debugger.html/stargazers","contributors_url":"https://api.github.com/repos/escaton/debugger.html/contributors","subscribers_url":"https://api.github.com/repos/escaton/debugger.html/subscribers","subscription_url":"https://api.github.com/repos/escaton/debugger.html/subscription","commits_url":"https://api.github.com/repos/escaton/debugger.html/commits{/sha}","git_commits_url":"https://api.github.com/repos/escaton/debugger.html/git/commits{/sha}","comments_url":"https://api.github.com/repos/escaton/debugger.html/comments{/number}","issue_comment_url":"https://api.github.com/repos/escaton/debugger.html/issues/comments{/number}","contents_url":"https://api.github.com/repos/escaton/debugger.html/contents/{+path}","compare_url":"https://api.github.com/repos/escaton/debugger.html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/escaton/debugger.html/merges","archive_url":"https://api.github.com/repos/escaton/debugger.html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/escaton/debugger.html/downloads","issues_url":"https://api.github.com/repos/escaton/debugger.html/issues{/number}","pulls_url":"https://api.github.com/repos/escaton/debugger.html/pulls{/number}","milestones_url":"https://api.github.com/repos/escaton/debugger.html/milestones{/number}","notifications_url":"https://api.github.com/repos/escaton/debugger.html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/escaton/debugger.html/labels{/name}","releases_url":"https://api.github.com/repos/escaton/debugger.html/releases{/id}","deployments_url":"https://api.github.com/repos/escaton/debugger.html/deployments","created_at":"2018-03-18T11:42:03Z","updated_at":"2018-03-18T11:42:07Z","pushed_at":"2018-03-21T09:48:40Z","git_url":"git://github.com/escaton/debugger.html.git","ssh_url":"git@github.com:escaton/debugger.html.git","clone_url":"https://github.com/escaton/debugger.html.git","svn_url":"https://github.com/escaton/debugger.html","homepage":"https://devtools-html.github.io/debugger.html/","size":18385,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"devtools-html:master","ref":"master","sha":"2fe01ff225a50271431be713fb176660cc30003f","user":{"login":"devtools-html","id":19979421,"avatar_url":"https://avatars2.githubusercontent.com/u/19979421?v=4","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"repo":{"id":54585418,"name":"debugger.html","full_name":"devtools-html/debugger.html","owner":{"login":"devtools-html","id":19979421,"avatar_url":"https://avatars2.githubusercontent.com/u/19979421?v=4","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devtools-html/debugger.html","description":"The Firefox debugger that works anywhere  :boom:","fork":false,"url":"https://api.github.com/repos/devtools-html/debugger.html","forks_url":"https://api.github.com/repos/devtools-html/debugger.html/forks","keys_url":"https://api.github.com/repos/devtools-html/debugger.html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devtools-html/debugger.html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devtools-html/debugger.html/teams","hooks_url":"https://api.github.com/repos/devtools-html/debugger.html/hooks","issue_events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/events{/number}","events_url":"https://api.github.com/repos/devtools-html/debugger.html/events","assignees_url":"https://api.github.com/repos/devtools-html/debugger.html/assignees{/user}","branches_url":"https://api.github.com/repos/devtools-html/debugger.html/branches{/branch}","tags_url":"https://api.github.com/repos/devtools-html/debugger.html/tags","blobs_url":"https://api.github.com/repos/devtools-html/debugger.html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devtools-html/debugger.html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devtools-html/debugger.html/git/refs{/sha}","trees_url":"https://api.github.com/repos/devtools-html/debugger.html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devtools-html/debugger.html/statuses/{sha}","languages_url":"https://api.github.com/repos/devtools-html/debugger.html/languages","stargazers_url":"https://api.github.com/repos/devtools-html/debugger.html/stargazers","contributors_url":"https://api.github.com/repos/devtools-html/debugger.html/contributors","subscribers_url":"https://api.github.com/repos/devtools-html/debugger.html/subscribers","subscription_url":"https://api.github.com/repos/devtools-html/debugger.html/subscription","commits_url":"https://api.github.com/repos/devtools-html/debugger.html/commits{/sha}","git_commits_url":"https://api.github.com/repos/devtools-html/debugger.html/git/commits{/sha}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/comments{/number}","issue_comment_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/comments{/number}","contents_url":"https://api.github.com/repos/devtools-html/debugger.html/contents/{+path}","compare_url":"https://api.github.com/repos/devtools-html/debugger.html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devtools-html/debugger.html/merges","archive_url":"https://api.github.com/repos/devtools-html/debugger.html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devtools-html/debugger.html/downloads","issues_url":"https://api.github.com/repos/devtools-html/debugger.html/issues{/number}","pulls_url":"https://api.github.com/repos/devtools-html/debugger.html/pulls{/number}","milestones_url":"https://api.github.com/repos/devtools-html/debugger.html/milestones{/number}","notifications_url":"https://api.github.com/repos/devtools-html/debugger.html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/labels{/name}","releases_url":"https://api.github.com/repos/devtools-html/debugger.html/releases{/id}","deployments_url":"https://api.github.com/repos/devtools-html/debugger.html/deployments","created_at":"2016-03-23T18:55:36Z","updated_at":"2018-03-21T08:18:03Z","pushed_at":"2018-03-21T09:48:43Z","git_url":"git://github.com/devtools-html/debugger.html.git","ssh_url":"git@github.com:devtools-html/debugger.html.git","clone_url":"https://github.com/devtools-html/debugger.html.git","svn_url":"https://github.com/devtools-html/debugger.html","homepage":"https://devtools-html.github.io/debugger.html/","size":18522,"stargazers_count":3574,"watchers_count":3574,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":573,"mirror_url":null,"archived":false,"open_issues_count":153,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":573,"open_issues":153,"watchers":3574,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725"},"html":{"href":"https://github.com/devtools-html/debugger.html/pull/5725"},"issue":{"href":"https://api.github.com/repos/devtools-html/debugger.html/issues/5725"},"comments":{"href":"https://api.github.com/repos/devtools-html/debugger.html/issues/5725/comments"},"review_comments":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725/comments"},"review_comment":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devtools-html/debugger.html/pulls/5725/commits"},"statuses":{"href":"https://api.github.com/repos/devtools-html/debugger.html/statuses/e25226d4cb06a7e86c2df4e69aa57c989fad49f7"}},"author_association":"NONE"}}
{"actor":{"display_login":"escaton"}}