{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/comments/183322582","pull_request_review_id":114297310,"id":183322582,"diff_hunk":"@@ -0,0 +1,25 @@\n+import {h} from 'dom-chef';\n+import {safeElementReady} from '../libs/utils';\n+\n+export default async () => {\n+\tconst imgContainers = document.querySelectorAll('.AdaptiveMedia > div > div > div');\n+\n+\tfor (let i = 0; i < imgContainers.length; i++) {","path":"source/features/image-alternatives.js","position":7,"original_position":7,"commit_id":"6e5ea84b82fac3a595bcade15ceead1cd824894f","original_commit_id":"6e5ea84b82fac3a595bcade15ceead1cd824894f","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"body":"Use a `for-of` loop.","created_at":"2018-04-23T09:07:24Z","updated_at":"2018-04-23T09:11:14Z","html_url":"https://github.com/sindresorhus/refined-twitter/pull/101#discussion_r183322582","pull_request_url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/comments/183322582"},"html":{"href":"https://github.com/sindresorhus/refined-twitter/pull/101#discussion_r183322582"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101","id":183359358,"html_url":"https://github.com/sindresorhus/refined-twitter/pull/101","diff_url":"https://github.com/sindresorhus/refined-twitter/pull/101.diff","patch_url":"https://github.com/sindresorhus/refined-twitter/pull/101.patch","issue_url":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/101","number":101,"state":"open","locked":false,"title":"[WIP] (feature): render image alternatives (fix #100)","user":{"login":"borisschapira","id":284742,"avatar_url":"https://avatars0.githubusercontent.com/u/284742?v=4","gravatar_id":"","url":"https://api.github.com/users/borisschapira","html_url":"https://github.com/borisschapira","followers_url":"https://api.github.com/users/borisschapira/followers","following_url":"https://api.github.com/users/borisschapira/following{/other_user}","gists_url":"https://api.github.com/users/borisschapira/gists{/gist_id}","starred_url":"https://api.github.com/users/borisschapira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisschapira/subscriptions","organizations_url":"https://api.github.com/users/borisschapira/orgs","repos_url":"https://api.github.com/users/borisschapira/repos","events_url":"https://api.github.com/users/borisschapira/events{/privacy}","received_events_url":"https://api.github.com/users/borisschapira/received_events","type":"User","site_admin":false},"body":"- Development started after @MichielBijl's [tweet](https://twitter.com/MichielBijl/status/988147445799546880). \r\n- **would appreciate some help**\r\n\r\n## alt Injection\r\n\r\nNearly there. I think I'm not injecting at the right moment because sometimes, the injection don't happen.\r\n\r\n## Styling\r\n\r\nStill searching for the right way to style this, as I would like to add the alternative without masking the original image…","created_at":"2018-04-23T08:28:01Z","updated_at":"2018-04-23T09:11:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f0e896ab5e91bb3870cc30b03b5fa710b505619","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/101/comments","statuses_url":"https://api.github.com/repos/sindresorhus/refined-twitter/statuses/6e5ea84b82fac3a595bcade15ceead1cd824894f","head":{"label":"borisschapira:render-alternatives","ref":"render-alternatives","sha":"6e5ea84b82fac3a595bcade15ceead1cd824894f","user":{"login":"borisschapira","id":284742,"avatar_url":"https://avatars0.githubusercontent.com/u/284742?v=4","gravatar_id":"","url":"https://api.github.com/users/borisschapira","html_url":"https://github.com/borisschapira","followers_url":"https://api.github.com/users/borisschapira/followers","following_url":"https://api.github.com/users/borisschapira/following{/other_user}","gists_url":"https://api.github.com/users/borisschapira/gists{/gist_id}","starred_url":"https://api.github.com/users/borisschapira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisschapira/subscriptions","organizations_url":"https://api.github.com/users/borisschapira/orgs","repos_url":"https://api.github.com/users/borisschapira/repos","events_url":"https://api.github.com/users/borisschapira/events{/privacy}","received_events_url":"https://api.github.com/users/borisschapira/received_events","type":"User","site_admin":false},"repo":{"id":130012566,"name":"refined-twitter","full_name":"borisschapira/refined-twitter","owner":{"login":"borisschapira","id":284742,"avatar_url":"https://avatars0.githubusercontent.com/u/284742?v=4","gravatar_id":"","url":"https://api.github.com/users/borisschapira","html_url":"https://github.com/borisschapira","followers_url":"https://api.github.com/users/borisschapira/followers","following_url":"https://api.github.com/users/borisschapira/following{/other_user}","gists_url":"https://api.github.com/users/borisschapira/gists{/gist_id}","starred_url":"https://api.github.com/users/borisschapira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisschapira/subscriptions","organizations_url":"https://api.github.com/users/borisschapira/orgs","repos_url":"https://api.github.com/users/borisschapira/repos","events_url":"https://api.github.com/users/borisschapira/events{/privacy}","received_events_url":"https://api.github.com/users/borisschapira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borisschapira/refined-twitter","description":"Browser extension that simplifies the Twitter interface and adds useful features","fork":true,"url":"https://api.github.com/repos/borisschapira/refined-twitter","forks_url":"https://api.github.com/repos/borisschapira/refined-twitter/forks","keys_url":"https://api.github.com/repos/borisschapira/refined-twitter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borisschapira/refined-twitter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borisschapira/refined-twitter/teams","hooks_url":"https://api.github.com/repos/borisschapira/refined-twitter/hooks","issue_events_url":"https://api.github.com/repos/borisschapira/refined-twitter/issues/events{/number}","events_url":"https://api.github.com/repos/borisschapira/refined-twitter/events","assignees_url":"https://api.github.com/repos/borisschapira/refined-twitter/assignees{/user}","branches_url":"https://api.github.com/repos/borisschapira/refined-twitter/branches{/branch}","tags_url":"https://api.github.com/repos/borisschapira/refined-twitter/tags","blobs_url":"https://api.github.com/repos/borisschapira/refined-twitter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borisschapira/refined-twitter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borisschapira/refined-twitter/git/refs{/sha}","trees_url":"https://api.github.com/repos/borisschapira/refined-twitter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borisschapira/refined-twitter/statuses/{sha}","languages_url":"https://api.github.com/repos/borisschapira/refined-twitter/languages","stargazers_url":"https://api.github.com/repos/borisschapira/refined-twitter/stargazers","contributors_url":"https://api.github.com/repos/borisschapira/refined-twitter/contributors","subscribers_url":"https://api.github.com/repos/borisschapira/refined-twitter/subscribers","subscription_url":"https://api.github.com/repos/borisschapira/refined-twitter/subscription","commits_url":"https://api.github.com/repos/borisschapira/refined-twitter/commits{/sha}","git_commits_url":"https://api.github.com/repos/borisschapira/refined-twitter/git/commits{/sha}","comments_url":"https://api.github.com/repos/borisschapira/refined-twitter/comments{/number}","issue_comment_url":"https://api.github.com/repos/borisschapira/refined-twitter/issues/comments{/number}","contents_url":"https://api.github.com/repos/borisschapira/refined-twitter/contents/{+path}","compare_url":"https://api.github.com/repos/borisschapira/refined-twitter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borisschapira/refined-twitter/merges","archive_url":"https://api.github.com/repos/borisschapira/refined-twitter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borisschapira/refined-twitter/downloads","issues_url":"https://api.github.com/repos/borisschapira/refined-twitter/issues{/number}","pulls_url":"https://api.github.com/repos/borisschapira/refined-twitter/pulls{/number}","milestones_url":"https://api.github.com/repos/borisschapira/refined-twitter/milestones{/number}","notifications_url":"https://api.github.com/repos/borisschapira/refined-twitter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borisschapira/refined-twitter/labels{/name}","releases_url":"https://api.github.com/repos/borisschapira/refined-twitter/releases{/id}","deployments_url":"https://api.github.com/repos/borisschapira/refined-twitter/deployments","created_at":"2018-04-18T06:11:19Z","updated_at":"2018-04-23T07:29:54Z","pushed_at":"2018-04-23T08:23:01Z","git_url":"git://github.com/borisschapira/refined-twitter.git","ssh_url":"git@github.com:borisschapira/refined-twitter.git","clone_url":"https://github.com/borisschapira/refined-twitter.git","svn_url":"https://github.com/borisschapira/refined-twitter","homepage":null,"size":1478,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"b2f54a7471f8fd53be06d87bc56de4e636b8df41","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":113491980,"name":"refined-twitter","full_name":"sindresorhus/refined-twitter","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/refined-twitter","description":"Browser extension that simplifies the Twitter interface and adds useful features","fork":false,"url":"https://api.github.com/repos/sindresorhus/refined-twitter","forks_url":"https://api.github.com/repos/sindresorhus/refined-twitter/forks","keys_url":"https://api.github.com/repos/sindresorhus/refined-twitter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/refined-twitter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/refined-twitter/teams","hooks_url":"https://api.github.com/repos/sindresorhus/refined-twitter/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/refined-twitter/events","assignees_url":"https://api.github.com/repos/sindresorhus/refined-twitter/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/refined-twitter/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/refined-twitter/tags","blobs_url":"https://api.github.com/repos/sindresorhus/refined-twitter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/refined-twitter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/refined-twitter/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/refined-twitter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/refined-twitter/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/refined-twitter/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/refined-twitter/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/refined-twitter/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/refined-twitter/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/refined-twitter/subscription","commits_url":"https://api.github.com/repos/sindresorhus/refined-twitter/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/refined-twitter/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/refined-twitter/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/refined-twitter/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/refined-twitter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/refined-twitter/merges","archive_url":"https://api.github.com/repos/sindresorhus/refined-twitter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/refined-twitter/downloads","issues_url":"https://api.github.com/repos/sindresorhus/refined-twitter/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/refined-twitter/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/refined-twitter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/refined-twitter/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/refined-twitter/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/refined-twitter/deployments","created_at":"2017-12-07T19:49:19Z","updated_at":"2018-04-23T04:12:28Z","pushed_at":"2018-04-23T08:28:01Z","git_url":"git://github.com/sindresorhus/refined-twitter.git","ssh_url":"git@github.com:sindresorhus/refined-twitter.git","clone_url":"https://github.com/sindresorhus/refined-twitter.git","svn_url":"https://github.com/sindresorhus/refined-twitter","homepage":null,"size":1488,"stargazers_count":670,"watchers_count":670,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":45,"open_issues":21,"watchers":670,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101"},"html":{"href":"https://github.com/sindresorhus/refined-twitter/pull/101"},"issue":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/101"},"comments":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/refined-twitter/statuses/6e5ea84b82fac3a595bcade15ceead1cd824894f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sindresorhus"}}