{"action":"created","comment":{"url":"https://api.github.com/repos/electron/electron/pulls/comments/67583941","id":67583941,"diff_hunk":"@@ -11,6 +11,16 @@ var shell = require('shell');\n shell.openExternal('https://github.com');\n ```\n \n+May be this way\n+```javascript\n+const electron = require('electron');","path":"docs-translations/zh-CN/api/shell.md","position":6,"original_position":6,"commit_id":"36bea0dc5165c771bd544d42ce29289f71bfa8d4","original_commit_id":"36bea0dc5165c771bd544d42ce29289f71bfa8d4","user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"body":"Would you mind updating line `9` instead to be:\r\n\r\n```js\r\nconst {shell} = require('electron');\r\n```","created_at":"2016-06-17T22:29:19Z","updated_at":"2016-06-17T22:29:19Z","html_url":"https://github.com/electron/electron/pull/6099#discussion_r67583941","pull_request_url":"https://api.github.com/repos/electron/electron/pulls/6099","_links":{"self":{"href":"https://api.github.com/repos/electron/electron/pulls/comments/67583941"},"html":{"href":"https://github.com/electron/electron/pull/6099#discussion_r67583941"},"pull_request":{"href":"https://api.github.com/repos/electron/electron/pulls/6099"}}},"pull_request":{"url":"https://api.github.com/repos/electron/electron/pulls/6099","id":74183061,"html_url":"https://github.com/electron/electron/pull/6099","diff_url":"https://github.com/electron/electron/pull/6099.diff","patch_url":"https://github.com/electron/electron/pull/6099.patch","issue_url":"https://api.github.com/repos/electron/electron/issues/6099","number":6099,"state":"open","locked":false,"title":"require shell","user":{"login":"kyo4311","id":4075936,"avatar_url":"https://avatars.githubusercontent.com/u/4075936?v=3","gravatar_id":"","url":"https://api.github.com/users/kyo4311","html_url":"https://github.com/kyo4311","followers_url":"https://api.github.com/users/kyo4311/followers","following_url":"https://api.github.com/users/kyo4311/following{/other_user}","gists_url":"https://api.github.com/users/kyo4311/gists{/gist_id}","starred_url":"https://api.github.com/users/kyo4311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyo4311/subscriptions","organizations_url":"https://api.github.com/users/kyo4311/orgs","repos_url":"https://api.github.com/users/kyo4311/repos","events_url":"https://api.github.com/users/kyo4311/events{/privacy}","received_events_url":"https://api.github.com/users/kyo4311/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-17T03:06:56Z","updated_at":"2016-06-17T22:29:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d5989741973ede8420486daf585b687e5b9fe42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/electron/electron/pulls/6099/commits","review_comments_url":"https://api.github.com/repos/electron/electron/pulls/6099/comments","review_comment_url":"https://api.github.com/repos/electron/electron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/electron/electron/issues/6099/comments","statuses_url":"https://api.github.com/repos/electron/electron/statuses/36bea0dc5165c771bd544d42ce29289f71bfa8d4","head":{"label":"kyo4311:patch-1","ref":"patch-1","sha":"36bea0dc5165c771bd544d42ce29289f71bfa8d4","user":{"login":"kyo4311","id":4075936,"avatar_url":"https://avatars.githubusercontent.com/u/4075936?v=3","gravatar_id":"","url":"https://api.github.com/users/kyo4311","html_url":"https://github.com/kyo4311","followers_url":"https://api.github.com/users/kyo4311/followers","following_url":"https://api.github.com/users/kyo4311/following{/other_user}","gists_url":"https://api.github.com/users/kyo4311/gists{/gist_id}","starred_url":"https://api.github.com/users/kyo4311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyo4311/subscriptions","organizations_url":"https://api.github.com/users/kyo4311/orgs","repos_url":"https://api.github.com/users/kyo4311/repos","events_url":"https://api.github.com/users/kyo4311/events{/privacy}","received_events_url":"https://api.github.com/users/kyo4311/received_events","type":"User","site_admin":false},"repo":{"id":61341685,"name":"electron","full_name":"kyo4311/electron","owner":{"login":"kyo4311","id":4075936,"avatar_url":"https://avatars.githubusercontent.com/u/4075936?v=3","gravatar_id":"","url":"https://api.github.com/users/kyo4311","html_url":"https://github.com/kyo4311","followers_url":"https://api.github.com/users/kyo4311/followers","following_url":"https://api.github.com/users/kyo4311/following{/other_user}","gists_url":"https://api.github.com/users/kyo4311/gists{/gist_id}","starred_url":"https://api.github.com/users/kyo4311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyo4311/subscriptions","organizations_url":"https://api.github.com/users/kyo4311/orgs","repos_url":"https://api.github.com/users/kyo4311/repos","events_url":"https://api.github.com/users/kyo4311/events{/privacy}","received_events_url":"https://api.github.com/users/kyo4311/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyo4311/electron","description":"Build cross platform desktop apps with JavaScript, HTML, and CSS","fork":true,"url":"https://api.github.com/repos/kyo4311/electron","forks_url":"https://api.github.com/repos/kyo4311/electron/forks","keys_url":"https://api.github.com/repos/kyo4311/electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyo4311/electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyo4311/electron/teams","hooks_url":"https://api.github.com/repos/kyo4311/electron/hooks","issue_events_url":"https://api.github.com/repos/kyo4311/electron/issues/events{/number}","events_url":"https://api.github.com/repos/kyo4311/electron/events","assignees_url":"https://api.github.com/repos/kyo4311/electron/assignees{/user}","branches_url":"https://api.github.com/repos/kyo4311/electron/branches{/branch}","tags_url":"https://api.github.com/repos/kyo4311/electron/tags","blobs_url":"https://api.github.com/repos/kyo4311/electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyo4311/electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyo4311/electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyo4311/electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyo4311/electron/statuses/{sha}","languages_url":"https://api.github.com/repos/kyo4311/electron/languages","stargazers_url":"https://api.github.com/repos/kyo4311/electron/stargazers","contributors_url":"https://api.github.com/repos/kyo4311/electron/contributors","subscribers_url":"https://api.github.com/repos/kyo4311/electron/subscribers","subscription_url":"https://api.github.com/repos/kyo4311/electron/subscription","commits_url":"https://api.github.com/repos/kyo4311/electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyo4311/electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyo4311/electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyo4311/electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyo4311/electron/contents/{+path}","compare_url":"https://api.github.com/repos/kyo4311/electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyo4311/electron/merges","archive_url":"https://api.github.com/repos/kyo4311/electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyo4311/electron/downloads","issues_url":"https://api.github.com/repos/kyo4311/electron/issues{/number}","pulls_url":"https://api.github.com/repos/kyo4311/electron/pulls{/number}","milestones_url":"https://api.github.com/repos/kyo4311/electron/milestones{/number}","notifications_url":"https://api.github.com/repos/kyo4311/electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyo4311/electron/labels{/name}","releases_url":"https://api.github.com/repos/kyo4311/electron/releases{/id}","deployments_url":"https://api.github.com/repos/kyo4311/electron/deployments","created_at":"2016-06-17T03:05:02Z","updated_at":"2016-06-17T03:05:08Z","pushed_at":"2016-06-17T03:06:40Z","git_url":"git://github.com/kyo4311/electron.git","ssh_url":"git@github.com:kyo4311/electron.git","clone_url":"https://github.com/kyo4311/electron.git","svn_url":"https://github.com/kyo4311/electron","homepage":"http://electron.atom.io","size":17257,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"electron:master","ref":"master","sha":"d2a831aea58c5d73fda779fd3953f5a888f6a81d","user":{"login":"electron","id":13409222,"avatar_url":"https://avatars.githubusercontent.com/u/13409222?v=3","gravatar_id":"","url":"https://api.github.com/users/electron","html_url":"https://github.com/electron","followers_url":"https://api.github.com/users/electron/followers","following_url":"https://api.github.com/users/electron/following{/other_user}","gists_url":"https://api.github.com/users/electron/gists{/gist_id}","starred_url":"https://api.github.com/users/electron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electron/subscriptions","organizations_url":"https://api.github.com/users/electron/orgs","repos_url":"https://api.github.com/users/electron/repos","events_url":"https://api.github.com/users/electron/events{/privacy}","received_events_url":"https://api.github.com/users/electron/received_events","type":"Organization","site_admin":false},"repo":{"id":9384267,"name":"electron","full_name":"electron/electron","owner":{"login":"electron","id":13409222,"avatar_url":"https://avatars.githubusercontent.com/u/13409222?v=3","gravatar_id":"","url":"https://api.github.com/users/electron","html_url":"https://github.com/electron","followers_url":"https://api.github.com/users/electron/followers","following_url":"https://api.github.com/users/electron/following{/other_user}","gists_url":"https://api.github.com/users/electron/gists{/gist_id}","starred_url":"https://api.github.com/users/electron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electron/subscriptions","organizations_url":"https://api.github.com/users/electron/orgs","repos_url":"https://api.github.com/users/electron/repos","events_url":"https://api.github.com/users/electron/events{/privacy}","received_events_url":"https://api.github.com/users/electron/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/electron/electron","description":"Build cross platform desktop apps with JavaScript, HTML, and CSS","fork":false,"url":"https://api.github.com/repos/electron/electron","forks_url":"https://api.github.com/repos/electron/electron/forks","keys_url":"https://api.github.com/repos/electron/electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/electron/electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/electron/electron/teams","hooks_url":"https://api.github.com/repos/electron/electron/hooks","issue_events_url":"https://api.github.com/repos/electron/electron/issues/events{/number}","events_url":"https://api.github.com/repos/electron/electron/events","assignees_url":"https://api.github.com/repos/electron/electron/assignees{/user}","branches_url":"https://api.github.com/repos/electron/electron/branches{/branch}","tags_url":"https://api.github.com/repos/electron/electron/tags","blobs_url":"https://api.github.com/repos/electron/electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/electron/electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/electron/electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/electron/electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/electron/electron/statuses/{sha}","languages_url":"https://api.github.com/repos/electron/electron/languages","stargazers_url":"https://api.github.com/repos/electron/electron/stargazers","contributors_url":"https://api.github.com/repos/electron/electron/contributors","subscribers_url":"https://api.github.com/repos/electron/electron/subscribers","subscription_url":"https://api.github.com/repos/electron/electron/subscription","commits_url":"https://api.github.com/repos/electron/electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/electron/electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/electron/electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/electron/electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/electron/electron/contents/{+path}","compare_url":"https://api.github.com/repos/electron/electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/electron/electron/merges","archive_url":"https://api.github.com/repos/electron/electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/electron/electron/downloads","issues_url":"https://api.github.com/repos/electron/electron/issues{/number}","pulls_url":"https://api.github.com/repos/electron/electron/pulls{/number}","milestones_url":"https://api.github.com/repos/electron/electron/milestones{/number}","notifications_url":"https://api.github.com/repos/electron/electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/electron/electron/labels{/name}","releases_url":"https://api.github.com/repos/electron/electron/releases{/id}","deployments_url":"https://api.github.com/repos/electron/electron/deployments","created_at":"2013-04-12T01:47:36Z","updated_at":"2016-06-17T21:24:51Z","pushed_at":"2016-06-17T22:11:11Z","git_url":"git://github.com/electron/electron.git","ssh_url":"git@github.com:electron/electron.git","clone_url":"https://github.com/electron/electron.git","svn_url":"https://github.com/electron/electron","homepage":"http://electron.atom.io","size":24315,"stargazers_count":31762,"watchers_count":31762,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3374,"mirror_url":null,"open_issues_count":285,"forks":3374,"open_issues":285,"watchers":31762,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/electron/electron/pulls/6099"},"html":{"href":"https://github.com/electron/electron/pull/6099"},"issue":{"href":"https://api.github.com/repos/electron/electron/issues/6099"},"comments":{"href":"https://api.github.com/repos/electron/electron/issues/6099/comments"},"review_comments":{"href":"https://api.github.com/repos/electron/electron/pulls/6099/comments"},"review_comment":{"href":"https://api.github.com/repos/electron/electron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/electron/electron/pulls/6099/commits"},"statuses":{"href":"https://api.github.com/repos/electron/electron/statuses/36bea0dc5165c771bd544d42ce29289f71bfa8d4"}}}}
{"actor":{"display_login":"kevinsawicki"}}