GitHub PullRequestReviewCommentEvent at 2014-07-04 10:50:38
Repository: bem-components
Actor: gela-d
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bem/bem-components/pulls/comments/14555437","id":14555437,"diff_hunk":"@@ -0,0 +1,62 @@\n+var gemini = require('gemini');\n+\n+gemini.suite('radio-group', function(root) {\n+\n+    root.setUrl('desktop.tests/radio-group/gemini/gemini.html');\n+\n+    [\n+        'default',\n+        'button-normal-m',\n+        'button-normal-l',\n+        'button-normal-m-icon',\n+        'button-normal-l-icon',\n+        'normal-l',\n+        'normal-m',\n+        'line-normal-m',\n+        'line-normal-l'\n+    ]\n+        .forEach(function(test) {\n+            var radioItemSelector = '.' + test,\n+                radioItemSelectorEnabled = radioItemSelector + '-enabled',\n+                radioItemSelectorDisabled = radioItemSelector + '-disabled',\n+                captureArea,\n+                control;\n+\n+            if(!!~test.indexOf('button')) {\n+                captureArea = radioItemSelectorEnabled + ' .button';\n+                control = ' .radio';\n+            } else {\n+                captureArea = radioItemSelectorEnabled + ' .radio__box';\n+                control = ' .radio__control';\n+            }\n+\n+            gemini.suite(test + '-enabled', function(suite) {\n+                suite\n+                    .setCaptureElements(radioItemSelectorEnabled, captureArea)\n+                    .before(function(actions, find) {\n+                        this.radioItem = find(radioItemSelectorEnabled + control);\n+                    })\n+                    .capture('plain')\n+                    .capture('focus', function(actions) {\n+                        actions.sendKeys(this.radioItem, 'focus-hard');\n+                    })\n+                    .capture('hovered', function(actions) {\n+                        actions.mouseMove(this.radioItem);\n+                    })\n+                    .capture('down', function(actions) {\n+                        actions.mouseDown(this.radioItem);\n+                    })\n+                    .capture('up', function(actions) {\n+                        actions.mouseUp(this.radioItem);\n+                    })\n+\n+            });","path":"gemini/radio-group.gemini.js","position":53,"original_position":53,"commit_id":"5d2689e09d00e2fb2d03c3332b6878e9313dd6b6","original_commit_id":"5d2689e09d00e2fb2d03c3332b6878e9313dd6b6","user":{"login":"gela-d","id":1333220,"avatar_url":"https://avatars.githubusercontent.com/u/1333220?","gravatar_id":"7d7951295c6e151adc311f52d788ddb8","url":"https://api.github.com/users/gela-d","html_url":"https://github.com/gela-d","followers_url":"https://api.github.com/users/gela-d/followers","following_url":"https://api.github.com/users/gela-d/following{/other_user}","gists_url":"https://api.github.com/users/gela-d/gists{/gist_id}","starred_url":"https://api.github.com/users/gela-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gela-d/subscriptions","organizations_url":"https://api.github.com/users/gela-d/orgs","repos_url":"https://api.github.com/users/gela-d/repos","events_url":"https://api.github.com/users/gela-d/events{/privacy}","received_events_url":"https://api.github.com/users/gela-d/received_events","type":"User","site_admin":false},"body":"Лишний перенос","created_at":"2014-07-04T10:50:38Z","updated_at":"2014-07-04T10:50:38Z","html_url":"https://github.com/bem/bem-components/pull/697#discussion_r14555437","pull_request_url":"https://api.github.com/repos/bem/bem-components/pulls/697","_links":{"self":{"href":"https://api.github.com/repos/bem/bem-components/pulls/comments/14555437"},"html":{"href":"https://github.com/bem/bem-components/pull/697#discussion_r14555437"},"pull_request":{"href":"https://api.github.com/repos/bem/bem-components/pulls/697"}}},"pull_request":{"url":"https://api.github.com/repos/bem/bem-components/pulls/697","id":17461607,"html_url":"https://github.com/bem/bem-components/pull/697","diff_url":"https://github.com/bem/bem-components/pull/697.diff","patch_url":"https://github.com/bem/bem-components/pull/697.patch","issue_url":"https://api.github.com/repos/bem/bem-components/issues/697","number":697,"state":"open","title":"radio-group: Write Gemini tests","user":{"login":"gela-d","id":1333220,"avatar_url":"https://avatars.githubusercontent.com/u/1333220?","gravatar_id":"7d7951295c6e151adc311f52d788ddb8","url":"https://api.github.com/users/gela-d","html_url":"https://github.com/gela-d","followers_url":"https://api.github.com/users/gela-d/followers","following_url":"https://api.github.com/users/gela-d/following{/other_user}","gists_url":"https://api.github.com/users/gela-d/gists{/gist_id}","starred_url":"https://api.github.com/users/gela-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gela-d/subscriptions","organizations_url":"https://api.github.com/users/gela-d/orgs","repos_url":"https://api.github.com/users/gela-d/repos","events_url":"https://api.github.com/users/gela-d/events{/privacy}","received_events_url":"https://api.github.com/users/gela-d/received_events","type":"User","site_admin":false},"body":"Close #624 ","created_at":"2014-06-23T08:29:10Z","updated_at":"2014-07-04T10:50:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eaa95197dc5d65feb240b80f2bfa5d0ea7454ba3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem/bem-components/pulls/697/commits","review_comments_url":"https://api.github.com/repos/bem/bem-components/pulls/697/comments","review_comment_url":"https://api.github.com/repos/bem/bem-components/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bem/bem-components/issues/697/comments","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/5d2689e09d00e2fb2d03c3332b6878e9313dd6b6","head":{"label":"bem:issues/624@v2","ref":"issues/624@v2","sha":"5d2689e09d00e2fb2d03c3332b6878e9313dd6b6","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?","gravatar_id":"18b6e3435ca67fe775d3b21e1a70b25a","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":6578551,"name":"bem-components","full_name":"bem/bem-components","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?","gravatar_id":"18b6e3435ca67fe775d3b21e1a70b25a","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-components","description":"Set of components for sites development","fork":false,"url":"https://api.github.com/repos/bem/bem-components","forks_url":"https://api.github.com/repos/bem/bem-components/forks","keys_url":"https://api.github.com/repos/bem/bem-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-components/teams","hooks_url":"https://api.github.com/repos/bem/bem-components/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-components/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-components/events","assignees_url":"https://api.github.com/repos/bem/bem-components/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-components/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-components/tags","blobs_url":"https://api.github.com/repos/bem/bem-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-components/languages","stargazers_url":"https://api.github.com/repos/bem/bem-components/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-components/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-components/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-components/subscription","commits_url":"https://api.github.com/repos/bem/bem-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-components/issues/comments/{number}","contents_url":"https://api.github.com/repos/bem/bem-components/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-components/merges","archive_url":"https://api.github.com/repos/bem/bem-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-components/downloads","issues_url":"https://api.github.com/repos/bem/bem-components/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-components/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-components/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-components/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-components/releases{/id}","created_at":"2012-11-07T11:54:35Z","updated_at":"2014-07-01T20:21:28Z","pushed_at":"2014-07-04T10:39:56Z","git_url":"git://github.com/bem/bem-components.git","ssh_url":"git@github.com:bem/bem-components.git","clone_url":"https://github.com/bem/bem-components.git","svn_url":"https://github.com/bem/bem-components","homepage":"","size":20901,"stargazers_count":30,"watchers_count":30,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":29,"mirror_url":null,"open_issues_count":93,"forks":29,"open_issues":93,"watchers":30,"default_branch":"v2"}},"base":{"label":"bem:v2","ref":"v2","sha":"bbfb708214f0b54dac435343056eb26ccf56deb7","user":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?","gravatar_id":"18b6e3435ca67fe775d3b21e1a70b25a","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"repo":{"id":6578551,"name":"bem-components","full_name":"bem/bem-components","owner":{"login":"bem","id":223412,"avatar_url":"https://avatars.githubusercontent.com/u/223412?","gravatar_id":"18b6e3435ca67fe775d3b21e1a70b25a","url":"https://api.github.com/users/bem","html_url":"https://github.com/bem","followers_url":"https://api.github.com/users/bem/followers","following_url":"https://api.github.com/users/bem/following{/other_user}","gists_url":"https://api.github.com/users/bem/gists{/gist_id}","starred_url":"https://api.github.com/users/bem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem/subscriptions","organizations_url":"https://api.github.com/users/bem/orgs","repos_url":"https://api.github.com/users/bem/repos","events_url":"https://api.github.com/users/bem/events{/privacy}","received_events_url":"https://api.github.com/users/bem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem/bem-components","description":"Set of components for sites development","fork":false,"url":"https://api.github.com/repos/bem/bem-components","forks_url":"https://api.github.com/repos/bem/bem-components/forks","keys_url":"https://api.github.com/repos/bem/bem-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem/bem-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem/bem-components/teams","hooks_url":"https://api.github.com/repos/bem/bem-components/hooks","issue_events_url":"https://api.github.com/repos/bem/bem-components/issues/events{/number}","events_url":"https://api.github.com/repos/bem/bem-components/events","assignees_url":"https://api.github.com/repos/bem/bem-components/assignees{/user}","branches_url":"https://api.github.com/repos/bem/bem-components/branches{/branch}","tags_url":"https://api.github.com/repos/bem/bem-components/tags","blobs_url":"https://api.github.com/repos/bem/bem-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem/bem-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem/bem-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem/bem-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem/bem-components/statuses/{sha}","languages_url":"https://api.github.com/repos/bem/bem-components/languages","stargazers_url":"https://api.github.com/repos/bem/bem-components/stargazers","contributors_url":"https://api.github.com/repos/bem/bem-components/contributors","subscribers_url":"https://api.github.com/repos/bem/bem-components/subscribers","subscription_url":"https://api.github.com/repos/bem/bem-components/subscription","commits_url":"https://api.github.com/repos/bem/bem-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem/bem-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem/bem-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem/bem-components/issues/comments/{number}","contents_url":"https://api.github.com/repos/bem/bem-components/contents/{+path}","compare_url":"https://api.github.com/repos/bem/bem-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem/bem-components/merges","archive_url":"https://api.github.com/repos/bem/bem-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem/bem-components/downloads","issues_url":"https://api.github.com/repos/bem/bem-components/issues{/number}","pulls_url":"https://api.github.com/repos/bem/bem-components/pulls{/number}","milestones_url":"https://api.github.com/repos/bem/bem-components/milestones{/number}","notifications_url":"https://api.github.com/repos/bem/bem-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem/bem-components/labels{/name}","releases_url":"https://api.github.com/repos/bem/bem-components/releases{/id}","created_at":"2012-11-07T11:54:35Z","updated_at":"2014-07-01T20:21:28Z","pushed_at":"2014-07-04T10:39:56Z","git_url":"git://github.com/bem/bem-components.git","ssh_url":"git@github.com:bem/bem-components.git","clone_url":"https://github.com/bem/bem-components.git","svn_url":"https://github.com/bem/bem-components","homepage":"","size":20901,"stargazers_count":30,"watchers_count":30,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":29,"mirror_url":null,"open_issues_count":93,"forks":29,"open_issues":93,"watchers":30,"default_branch":"v2"}},"_links":{"self":{"href":"https://api.github.com/repos/bem/bem-components/pulls/697"},"html":{"href":"https://github.com/bem/bem-components/pull/697"},"issue":{"href":"https://api.github.com/repos/bem/bem-components/issues/697"},"comments":{"href":"https://api.github.com/repos/bem/bem-components/issues/697/comments"},"review_comments":{"href":"https://api.github.com/repos/bem/bem-components/pulls/697/comments"},"review_comment":{"href":"https://api.github.com/repos/bem/bem-components/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bem/bem-components/pulls/697/commits"},"statuses":{"href":"https://api.github.com/repos/bem/bem-components/statuses/5d2689e09d00e2fb2d03c3332b6878e9313dd6b6"}}}}