{"action":"created","comment":{"url":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments/39259694","id":39259694,"diff_hunk":"@@ -12,6 +12,14 @@\n         return !/MSIE 8\\.0/.test(navigator.userAgent);\n     }\n \n+    function resetZoom() {\n+        var meta = document.createElement('meta'),\n+            head = document.getElementsByTagName('head')[0];\n+        meta.name = 'viewport';\n+        meta.content = 'width=device-width,initial-scale=1.0,user-scalable=no';\n+        head.appendChild(meta);","path":"lib/browser/client-scripts/gemini.calibrate.js","position":9,"original_position":9,"commit_id":"20c7e286615c50bca7772da046b947d1f92414a0","original_commit_id":"20c7e286615c50bca7772da046b947d1f92414a0","user":{"login":"unlok","id":3048454,"avatar_url":"https://avatars.githubusercontent.com/u/3048454?v=3","gravatar_id":"","url":"https://api.github.com/users/unlok","html_url":"https://github.com/unlok","followers_url":"https://api.github.com/users/unlok/followers","following_url":"https://api.github.com/users/unlok/following{/other_user}","gists_url":"https://api.github.com/users/unlok/gists{/gist_id}","starred_url":"https://api.github.com/users/unlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unlok/subscriptions","organizations_url":"https://api.github.com/users/unlok/orgs","repos_url":"https://api.github.com/users/unlok/repos","events_url":"https://api.github.com/users/unlok/events{/privacy}","received_events_url":"https://api.github.com/users/unlok/received_events","type":"User","site_admin":false},"body":"Переменная для head вроде не нужна:\r\n```js\r\ndocument\r\n  .getElementsByTagName('head')[0]\r\n  .appendChild(meta);\r\n```","created_at":"2015-09-11T10:37:54Z","updated_at":"2015-09-11T10:37:54Z","html_url":"https://github.com/gemini-testing/gemini/pull/229#discussion_r39259694","pull_request_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/229","_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments/39259694"},"html":{"href":"https://github.com/gemini-testing/gemini/pull/229#discussion_r39259694"},"pull_request":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/gemini-testing/gemini/pulls/229","id":44755907,"html_url":"https://github.com/gemini-testing/gemini/pull/229","diff_url":"https://github.com/gemini-testing/gemini/pull/229.diff","patch_url":"https://github.com/gemini-testing/gemini/pull/229.patch","issue_url":"https://api.github.com/repos/gemini-testing/gemini/issues/229","number":229,"state":"open","locked":false,"title":"Android support","user":{"login":"SevInf","id":603056,"avatar_url":"https://avatars.githubusercontent.com/u/603056?v=3","gravatar_id":"","url":"https://api.github.com/users/SevInf","html_url":"https://github.com/SevInf","followers_url":"https://api.github.com/users/SevInf/followers","following_url":"https://api.github.com/users/SevInf/following{/other_user}","gists_url":"https://api.github.com/users/SevInf/gists{/gist_id}","starred_url":"https://api.github.com/users/SevInf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SevInf/subscriptions","organizations_url":"https://api.github.com/users/SevInf/orgs","repos_url":"https://api.github.com/users/SevInf/repos","events_url":"https://api.github.com/users/SevInf/events{/privacy}","received_events_url":"https://api.github.com/users/SevInf/received_events","type":"User","site_admin":false},"body":"In order to address android zoom & high dpi display issues, calibration\r\nmethod is changed:\r\n\r\n1. Uses single-colored image.\r\n2. Resets the zoom level to 1.0.\r\n3. Uses the size of detected area to determine whether or not pixel\r\nratio should be taken into account.\r\n4. Uses looks-same to address small image color changes on android.","created_at":"2015-09-11T08:02:55Z","updated_at":"2015-09-11T10:37:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fad39f210e1d653d7b90cfe86e531d4d2bb47c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/229/commits","review_comments_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/229/comments","review_comment_url":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/issues/229/comments","statuses_url":"https://api.github.com/repos/gemini-testing/gemini/statuses/20c7e286615c50bca7772da046b947d1f92414a0","head":{"label":"gemini-testing:feature/android","ref":"feature/android","sha":"20c7e286615c50bca7772da046b947d1f92414a0","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":16734168,"name":"gemini","full_name":"gemini-testing/gemini","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/gemini","description":"Utility for regression testing of web pages using screenshots","fork":false,"url":"https://api.github.com/repos/gemini-testing/gemini","forks_url":"https://api.github.com/repos/gemini-testing/gemini/forks","keys_url":"https://api.github.com/repos/gemini-testing/gemini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/gemini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/gemini/teams","hooks_url":"https://api.github.com/repos/gemini-testing/gemini/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/gemini/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/gemini/events","assignees_url":"https://api.github.com/repos/gemini-testing/gemini/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/gemini/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/gemini/tags","blobs_url":"https://api.github.com/repos/gemini-testing/gemini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/gemini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/gemini/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/gemini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/gemini/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/gemini/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/gemini/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/gemini/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/gemini/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/gemini/subscription","commits_url":"https://api.github.com/repos/gemini-testing/gemini/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/gemini/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/gemini/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/gemini/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/gemini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/gemini/merges","archive_url":"https://api.github.com/repos/gemini-testing/gemini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/gemini/downloads","issues_url":"https://api.github.com/repos/gemini-testing/gemini/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/gemini/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/gemini/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/gemini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/gemini/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/gemini/releases{/id}","created_at":"2014-02-11T14:58:41Z","updated_at":"2015-09-11T00:08:52Z","pushed_at":"2015-09-11T08:02:56Z","git_url":"git://github.com/gemini-testing/gemini.git","ssh_url":"git@github.com:gemini-testing/gemini.git","clone_url":"https://github.com/gemini-testing/gemini.git","svn_url":"https://github.com/gemini-testing/gemini","homepage":null,"size":3885,"stargazers_count":415,"watchers_count":415,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":40,"forks":44,"open_issues":40,"watchers":415,"default_branch":"master"}},"base":{"label":"gemini-testing:master","ref":"master","sha":"244e01e8700df0d2c2f937bfb6179c7f9b83308f","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":16734168,"name":"gemini","full_name":"gemini-testing/gemini","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/gemini","description":"Utility for regression testing of web pages using screenshots","fork":false,"url":"https://api.github.com/repos/gemini-testing/gemini","forks_url":"https://api.github.com/repos/gemini-testing/gemini/forks","keys_url":"https://api.github.com/repos/gemini-testing/gemini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/gemini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/gemini/teams","hooks_url":"https://api.github.com/repos/gemini-testing/gemini/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/gemini/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/gemini/events","assignees_url":"https://api.github.com/repos/gemini-testing/gemini/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/gemini/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/gemini/tags","blobs_url":"https://api.github.com/repos/gemini-testing/gemini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/gemini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/gemini/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/gemini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/gemini/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/gemini/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/gemini/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/gemini/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/gemini/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/gemini/subscription","commits_url":"https://api.github.com/repos/gemini-testing/gemini/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/gemini/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/gemini/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/gemini/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/gemini/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/gemini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/gemini/merges","archive_url":"https://api.github.com/repos/gemini-testing/gemini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/gemini/downloads","issues_url":"https://api.github.com/repos/gemini-testing/gemini/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/gemini/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/gemini/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/gemini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/gemini/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/gemini/releases{/id}","created_at":"2014-02-11T14:58:41Z","updated_at":"2015-09-11T00:08:52Z","pushed_at":"2015-09-11T08:02:56Z","git_url":"git://github.com/gemini-testing/gemini.git","ssh_url":"git@github.com:gemini-testing/gemini.git","clone_url":"https://github.com/gemini-testing/gemini.git","svn_url":"https://github.com/gemini-testing/gemini","homepage":null,"size":3885,"stargazers_count":415,"watchers_count":415,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":40,"forks":44,"open_issues":40,"watchers":415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/229"},"html":{"href":"https://github.com/gemini-testing/gemini/pull/229"},"issue":{"href":"https://api.github.com/repos/gemini-testing/gemini/issues/229"},"comments":{"href":"https://api.github.com/repos/gemini-testing/gemini/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-testing/gemini/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-testing/gemini/statuses/20c7e286615c50bca7772da046b947d1f92414a0"}}}}