{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/comments/74832453","id":74832453,"diff_hunk":"@@ -2,43 +2,56 @@\n \n window.form = (function() {\n   var MIN_POSITIVE_RATE = 3;\n-  var buttonReview = document.querySelector('review-form-control review submit');\n+  var buttonReview = document.querySelector('button');\n   var formContainer = document.querySelector('.overlay-container');\n   var formCloseButton = document.querySelector('.review-form-close');\n-  var marksRate = document.getElementsByName('review-mark');\n+  var radioButtons = document.getElementsByClassName('review-form-group review-form-group-mark');\n   var reviewAuthor = document.querySelector('#review-name');\n   var reviewDescription = document.querySelector('#review-text');\n+  var reviewFields = document.getElementsByClassName('review-form-control review-fields');","path":"src/form.js","position":null,"original_position":12,"commit_id":"b2471f627e4ffa5a6b416e7af0e2b61bc7b87761","original_commit_id":"b2471f627e4ffa5a6b416e7af0e2b61bc7b87761","user":{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false},"body":"квери селектор","created_at":"2016-08-15T20:50:57Z","updated_at":"2016-08-15T20:50:57Z","html_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7#discussion_r74832453","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/comments/74832453"},"html":{"href":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7#discussion_r74832453"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7","id":81227438,"html_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7","diff_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7.diff","patch_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/7","number":7,"state":"open","locked":false,"title":"Валидация","user":{"login":"vidtv","id":20690042,"avatar_url":"https://avatars.githubusercontent.com/u/20690042?v=3","gravatar_id":"","url":"https://api.github.com/users/vidtv","html_url":"https://github.com/vidtv","followers_url":"https://api.github.com/users/vidtv/followers","following_url":"https://api.github.com/users/vidtv/following{/other_user}","gists_url":"https://api.github.com/users/vidtv/gists{/gist_id}","starred_url":"https://api.github.com/users/vidtv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidtv/subscriptions","organizations_url":"https://api.github.com/users/vidtv/orgs","repos_url":"https://api.github.com/users/vidtv/repos","events_url":"https://api.github.com/users/vidtv/events{/privacy}","received_events_url":"https://api.github.com/users/vidtv/received_events","type":"User","site_admin":false},"body":"\n\n--\n:boom: https://htmlacademy-javascript.github.io/218816-code-and-magick/7/","created_at":"2016-08-13T21:49:02Z","updated_at":"2016-08-15T20:50:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f91cab5e9bf4f8260ebb4afa187adcca55fa52e","assignee":{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false},"assignees":[{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/7/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/statuses/b2471f627e4ffa5a6b416e7af0e2b61bc7b87761","head":{"label":"vidtv:module3-task2","ref":"module3-task2","sha":"b2471f627e4ffa5a6b416e7af0e2b61bc7b87761","user":{"login":"vidtv","id":20690042,"avatar_url":"https://avatars.githubusercontent.com/u/20690042?v=3","gravatar_id":"","url":"https://api.github.com/users/vidtv","html_url":"https://github.com/vidtv","followers_url":"https://api.github.com/users/vidtv/followers","following_url":"https://api.github.com/users/vidtv/following{/other_user}","gists_url":"https://api.github.com/users/vidtv/gists{/gist_id}","starred_url":"https://api.github.com/users/vidtv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidtv/subscriptions","organizations_url":"https://api.github.com/users/vidtv/orgs","repos_url":"https://api.github.com/users/vidtv/repos","events_url":"https://api.github.com/users/vidtv/events{/privacy}","received_events_url":"https://api.github.com/users/vidtv/received_events","type":"User","site_admin":false},"repo":{"id":64968452,"name":"218816-code-and-magick","full_name":"vidtv/218816-code-and-magick","owner":{"login":"vidtv","id":20690042,"avatar_url":"https://avatars.githubusercontent.com/u/20690042?v=3","gravatar_id":"","url":"https://api.github.com/users/vidtv","html_url":"https://github.com/vidtv","followers_url":"https://api.github.com/users/vidtv/followers","following_url":"https://api.github.com/users/vidtv/following{/other_user}","gists_url":"https://api.github.com/users/vidtv/gists{/gist_id}","starred_url":"https://api.github.com/users/vidtv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidtv/subscriptions","organizations_url":"https://api.github.com/users/vidtv/orgs","repos_url":"https://api.github.com/users/vidtv/repos","events_url":"https://api.github.com/users/vidtv/events{/privacy}","received_events_url":"https://api.github.com/users/vidtv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vidtv/218816-code-and-magick","description":"Никита Борисов","fork":true,"url":"https://api.github.com/repos/vidtv/218816-code-and-magick","forks_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/forks","keys_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/teams","hooks_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/events","assignees_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/tags","blobs_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/subscription","commits_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/merges","archive_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/downloads","issues_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/vidtv/218816-code-and-magick/deployments","created_at":"2016-08-04T21:26:26Z","updated_at":"2016-08-04T21:26:31Z","pushed_at":"2016-08-15T16:53:29Z","git_url":"git://github.com/vidtv/218816-code-and-magick.git","ssh_url":"git@github.com:vidtv/218816-code-and-magick.git","clone_url":"https://github.com/vidtv/218816-code-and-magick.git","svn_url":"https://github.com/vidtv/218816-code-and-magick","homepage":null,"size":1475,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"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":"htmlacademy-javascript:master","ref":"master","sha":"11e2f684204c6cf2b09b3f41751a7df95f44aaba","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":64785258,"name":"218816-code-and-magick","full_name":"htmlacademy-javascript/218816-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick","description":"Никита Борисов","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/deployments","created_at":"2016-08-02T19:12:50Z","updated_at":"2016-08-05T19:39:21Z","pushed_at":"2016-08-15T16:53:29Z","git_url":"git://github.com/htmlacademy-javascript/218816-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/218816-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/218816-code-and-magick","homepage":"https://github.com/vidtv/218816-code-and-magick","size":1492,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7"},"html":{"href":"https://github.com/htmlacademy-javascript/218816-code-and-magick/pull/7"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/7"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/218816-code-and-magick/statuses/b2471f627e4ffa5a6b416e7af0e2b61bc7b87761"}}}}
{"actor":{"display_login":"Yorkina"}}