{"action":"created","comment":{"url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/comments/187535960","pull_request_review_id":119336362,"id":187535960,"diff_hunk":"@@ -80,5 +80,18 @@ browser.storage.onChanged.addListener((changes, areaname) => {\n // Prevent Tridactyl from being updated while it is running in the hope of fixing #290\n browser.runtime.onUpdateAvailable.addListener(_ => {})\n \n-// Try to load an RC file\n-excmds.source_quiet()\n+config.getAsync(\"autocmds\", \"TriStart\").then(aucmds => {","path":"src/background.ts","position":6,"original_position":6,"commit_id":"2cff88a96a3dc10e509d03032e07ec46f83fe4a6","original_commit_id":"2cff88a96a3dc10e509d03032e07ec46f83fe4a6","user":{"login":"bovine3dom","id":6505246,"avatar_url":"https://avatars3.githubusercontent.com/u/6505246?v=4","gravatar_id":"","url":"https://api.github.com/users/bovine3dom","html_url":"https://github.com/bovine3dom","followers_url":"https://api.github.com/users/bovine3dom/followers","following_url":"https://api.github.com/users/bovine3dom/following{/other_user}","gists_url":"https://api.github.com/users/bovine3dom/gists{/gist_id}","starred_url":"https://api.github.com/users/bovine3dom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bovine3dom/subscriptions","organizations_url":"https://api.github.com/users/bovine3dom/orgs","repos_url":"https://api.github.com/users/bovine3dom/repos","events_url":"https://api.github.com/users/bovine3dom/events{/privacy}","received_events_url":"https://api.github.com/users/bovine3dom/received_events","type":"User","site_admin":false},"body":"You can listen to an event for when the extension starts up with the browser. That would be more future proof for when we fix the hot updates.\r\nhttps://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/onStartup","created_at":"2018-05-11T07:08:42Z","updated_at":"2018-05-11T07:17:23Z","html_url":"https://github.com/cmcaine/tridactyl/pull/515#discussion_r187535960","pull_request_url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/comments/187535960"},"html":{"href":"https://github.com/cmcaine/tridactyl/pull/515#discussion_r187535960"},"pull_request":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515"}}},"pull_request":{"url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515","id":187374746,"html_url":"https://github.com/cmcaine/tridactyl/pull/515","diff_url":"https://github.com/cmcaine/tridactyl/pull/515.diff","patch_url":"https://github.com/cmcaine/tridactyl/pull/515.patch","issue_url":"https://api.github.com/repos/cmcaine/tridactyl/issues/515","number":515,"state":"open","locked":false,"title":"{background,config}.ts: Turn rc-loading into an autocmd","user":{"login":"glacambre","id":11534587,"avatar_url":"https://avatars2.githubusercontent.com/u/11534587?v=4","gravatar_id":"","url":"https://api.github.com/users/glacambre","html_url":"https://github.com/glacambre","followers_url":"https://api.github.com/users/glacambre/followers","following_url":"https://api.github.com/users/glacambre/following{/other_user}","gists_url":"https://api.github.com/users/glacambre/gists{/gist_id}","starred_url":"https://api.github.com/users/glacambre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glacambre/subscriptions","organizations_url":"https://api.github.com/users/glacambre/orgs","repos_url":"https://api.github.com/users/glacambre/repos","events_url":"https://api.github.com/users/glacambre/events{/privacy}","received_events_url":"https://api.github.com/users/glacambre/received_events","type":"User","site_admin":false},"body":"Use cases for this autocmd: opening a few tabs on browser start without having installed the native messenger.\r\nActually the autocmd could still be triggered if Tridactyl updates, but in practice this shouldn't happen much since Tridactyl doesn't silently auto-update while browsing anymore.","created_at":"2018-05-11T06:04:35Z","updated_at":"2018-05-11T07:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d47153c8e5b18d92acb2643be5e58d8953712572","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515/commits","review_comments_url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515/comments","review_comment_url":"https://api.github.com/repos/cmcaine/tridactyl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmcaine/tridactyl/issues/515/comments","statuses_url":"https://api.github.com/repos/cmcaine/tridactyl/statuses/2cff88a96a3dc10e509d03032e07ec46f83fe4a6","head":{"label":"glacambre:implement_tristart_autocmd","ref":"implement_tristart_autocmd","sha":"2cff88a96a3dc10e509d03032e07ec46f83fe4a6","user":{"login":"glacambre","id":11534587,"avatar_url":"https://avatars2.githubusercontent.com/u/11534587?v=4","gravatar_id":"","url":"https://api.github.com/users/glacambre","html_url":"https://github.com/glacambre","followers_url":"https://api.github.com/users/glacambre/followers","following_url":"https://api.github.com/users/glacambre/following{/other_user}","gists_url":"https://api.github.com/users/glacambre/gists{/gist_id}","starred_url":"https://api.github.com/users/glacambre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glacambre/subscriptions","organizations_url":"https://api.github.com/users/glacambre/orgs","repos_url":"https://api.github.com/users/glacambre/repos","events_url":"https://api.github.com/users/glacambre/events{/privacy}","received_events_url":"https://api.github.com/users/glacambre/received_events","type":"User","site_admin":false},"repo":{"id":112092139,"name":"tridactyl","full_name":"glacambre/tridactyl","owner":{"login":"glacambre","id":11534587,"avatar_url":"https://avatars2.githubusercontent.com/u/11534587?v=4","gravatar_id":"","url":"https://api.github.com/users/glacambre","html_url":"https://github.com/glacambre","followers_url":"https://api.github.com/users/glacambre/followers","following_url":"https://api.github.com/users/glacambre/following{/other_user}","gists_url":"https://api.github.com/users/glacambre/gists{/gist_id}","starred_url":"https://api.github.com/users/glacambre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glacambre/subscriptions","organizations_url":"https://api.github.com/users/glacambre/orgs","repos_url":"https://api.github.com/users/glacambre/repos","events_url":"https://api.github.com/users/glacambre/events{/privacy}","received_events_url":"https://api.github.com/users/glacambre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glacambre/tridactyl","description":"Implementing Vimperator/Pentadactyl as a WebExtension.","fork":true,"url":"https://api.github.com/repos/glacambre/tridactyl","forks_url":"https://api.github.com/repos/glacambre/tridactyl/forks","keys_url":"https://api.github.com/repos/glacambre/tridactyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glacambre/tridactyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glacambre/tridactyl/teams","hooks_url":"https://api.github.com/repos/glacambre/tridactyl/hooks","issue_events_url":"https://api.github.com/repos/glacambre/tridactyl/issues/events{/number}","events_url":"https://api.github.com/repos/glacambre/tridactyl/events","assignees_url":"https://api.github.com/repos/glacambre/tridactyl/assignees{/user}","branches_url":"https://api.github.com/repos/glacambre/tridactyl/branches{/branch}","tags_url":"https://api.github.com/repos/glacambre/tridactyl/tags","blobs_url":"https://api.github.com/repos/glacambre/tridactyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glacambre/tridactyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glacambre/tridactyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/glacambre/tridactyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glacambre/tridactyl/statuses/{sha}","languages_url":"https://api.github.com/repos/glacambre/tridactyl/languages","stargazers_url":"https://api.github.com/repos/glacambre/tridactyl/stargazers","contributors_url":"https://api.github.com/repos/glacambre/tridactyl/contributors","subscribers_url":"https://api.github.com/repos/glacambre/tridactyl/subscribers","subscription_url":"https://api.github.com/repos/glacambre/tridactyl/subscription","commits_url":"https://api.github.com/repos/glacambre/tridactyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/glacambre/tridactyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/glacambre/tridactyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/glacambre/tridactyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/glacambre/tridactyl/contents/{+path}","compare_url":"https://api.github.com/repos/glacambre/tridactyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glacambre/tridactyl/merges","archive_url":"https://api.github.com/repos/glacambre/tridactyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glacambre/tridactyl/downloads","issues_url":"https://api.github.com/repos/glacambre/tridactyl/issues{/number}","pulls_url":"https://api.github.com/repos/glacambre/tridactyl/pulls{/number}","milestones_url":"https://api.github.com/repos/glacambre/tridactyl/milestones{/number}","notifications_url":"https://api.github.com/repos/glacambre/tridactyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glacambre/tridactyl/labels{/name}","releases_url":"https://api.github.com/repos/glacambre/tridactyl/releases{/id}","deployments_url":"https://api.github.com/repos/glacambre/tridactyl/deployments","created_at":"2017-11-26T15:04:13Z","updated_at":"2018-05-11T05:59:04Z","pushed_at":"2018-05-11T05:59:03Z","git_url":"git://github.com/glacambre/tridactyl.git","ssh_url":"git@github.com:glacambre/tridactyl.git","clone_url":"https://github.com/glacambre/tridactyl.git","svn_url":"https://github.com/glacambre/tridactyl","homepage":null,"size":5327,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cmcaine:master","ref":"master","sha":"d648ef4a9a351a129aef64f375a358d36af96914","user":{"login":"cmcaine","id":6000761,"avatar_url":"https://avatars3.githubusercontent.com/u/6000761?v=4","gravatar_id":"","url":"https://api.github.com/users/cmcaine","html_url":"https://github.com/cmcaine","followers_url":"https://api.github.com/users/cmcaine/followers","following_url":"https://api.github.com/users/cmcaine/following{/other_user}","gists_url":"https://api.github.com/users/cmcaine/gists{/gist_id}","starred_url":"https://api.github.com/users/cmcaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmcaine/subscriptions","organizations_url":"https://api.github.com/users/cmcaine/orgs","repos_url":"https://api.github.com/users/cmcaine/repos","events_url":"https://api.github.com/users/cmcaine/events{/privacy}","received_events_url":"https://api.github.com/users/cmcaine/received_events","type":"User","site_admin":false},"repo":{"id":83070966,"name":"tridactyl","full_name":"cmcaine/tridactyl","owner":{"login":"cmcaine","id":6000761,"avatar_url":"https://avatars3.githubusercontent.com/u/6000761?v=4","gravatar_id":"","url":"https://api.github.com/users/cmcaine","html_url":"https://github.com/cmcaine","followers_url":"https://api.github.com/users/cmcaine/followers","following_url":"https://api.github.com/users/cmcaine/following{/other_user}","gists_url":"https://api.github.com/users/cmcaine/gists{/gist_id}","starred_url":"https://api.github.com/users/cmcaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmcaine/subscriptions","organizations_url":"https://api.github.com/users/cmcaine/orgs","repos_url":"https://api.github.com/users/cmcaine/repos","events_url":"https://api.github.com/users/cmcaine/events{/privacy}","received_events_url":"https://api.github.com/users/cmcaine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmcaine/tridactyl","description":"Implementing Vimperator/Pentadactyl as a WebExtension.","fork":false,"url":"https://api.github.com/repos/cmcaine/tridactyl","forks_url":"https://api.github.com/repos/cmcaine/tridactyl/forks","keys_url":"https://api.github.com/repos/cmcaine/tridactyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmcaine/tridactyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmcaine/tridactyl/teams","hooks_url":"https://api.github.com/repos/cmcaine/tridactyl/hooks","issue_events_url":"https://api.github.com/repos/cmcaine/tridactyl/issues/events{/number}","events_url":"https://api.github.com/repos/cmcaine/tridactyl/events","assignees_url":"https://api.github.com/repos/cmcaine/tridactyl/assignees{/user}","branches_url":"https://api.github.com/repos/cmcaine/tridactyl/branches{/branch}","tags_url":"https://api.github.com/repos/cmcaine/tridactyl/tags","blobs_url":"https://api.github.com/repos/cmcaine/tridactyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmcaine/tridactyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmcaine/tridactyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmcaine/tridactyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmcaine/tridactyl/statuses/{sha}","languages_url":"https://api.github.com/repos/cmcaine/tridactyl/languages","stargazers_url":"https://api.github.com/repos/cmcaine/tridactyl/stargazers","contributors_url":"https://api.github.com/repos/cmcaine/tridactyl/contributors","subscribers_url":"https://api.github.com/repos/cmcaine/tridactyl/subscribers","subscription_url":"https://api.github.com/repos/cmcaine/tridactyl/subscription","commits_url":"https://api.github.com/repos/cmcaine/tridactyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmcaine/tridactyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmcaine/tridactyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmcaine/tridactyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmcaine/tridactyl/contents/{+path}","compare_url":"https://api.github.com/repos/cmcaine/tridactyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmcaine/tridactyl/merges","archive_url":"https://api.github.com/repos/cmcaine/tridactyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmcaine/tridactyl/downloads","issues_url":"https://api.github.com/repos/cmcaine/tridactyl/issues{/number}","pulls_url":"https://api.github.com/repos/cmcaine/tridactyl/pulls{/number}","milestones_url":"https://api.github.com/repos/cmcaine/tridactyl/milestones{/number}","notifications_url":"https://api.github.com/repos/cmcaine/tridactyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmcaine/tridactyl/labels{/name}","releases_url":"https://api.github.com/repos/cmcaine/tridactyl/releases{/id}","deployments_url":"https://api.github.com/repos/cmcaine/tridactyl/deployments","created_at":"2017-02-24T18:29:34Z","updated_at":"2018-05-10T21:40:14Z","pushed_at":"2018-05-11T06:04:36Z","git_url":"git://github.com/cmcaine/tridactyl.git","ssh_url":"git@github.com:cmcaine/tridactyl.git","clone_url":"https://github.com/cmcaine/tridactyl.git","svn_url":"https://github.com/cmcaine/tridactyl","homepage":null,"size":5469,"stargazers_count":840,"watchers_count":840,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"archived":false,"open_issues_count":148,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":77,"open_issues":148,"watchers":840,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515"},"html":{"href":"https://github.com/cmcaine/tridactyl/pull/515"},"issue":{"href":"https://api.github.com/repos/cmcaine/tridactyl/issues/515"},"comments":{"href":"https://api.github.com/repos/cmcaine/tridactyl/issues/515/comments"},"review_comments":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515/comments"},"review_comment":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmcaine/tridactyl/pulls/515/commits"},"statuses":{"href":"https://api.github.com/repos/cmcaine/tridactyl/statuses/2cff88a96a3dc10e509d03032e07ec46f83fe4a6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bovine3dom"}}