{"action":"created","comment":{"url":"https://api.github.com/repos/Osshrp/qna/pulls/comments/117720626","pull_request_review_id":39448908,"id":117720626,"diff_hunk":"@@ -0,0 +1,16 @@\n+$(document).bind 'ajax:success', (e, data, status, xhr) ->\n+  json = $.parseJSON(xhr.responseText)\n+  votable = json.votable\n+  type = json.resource\n+  vote = json.vote\n+  vote_value = json.vote_value\n+  if vote == null","path":"app/assets/javascripts/votes.coffee","position":7,"original_position":7,"commit_id":"1b32876c3e85adab811733d4e0d722da74eed5b5","original_commit_id":"1b32876c3e85adab811733d4e0d722da74eed5b5","user":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"body":"После рефакторинга все сломалось...\r\nУже несколько часов убил, ничего понять не могу.\r\nЕсли попытаться отменить голос для вопроса, то не появляется форма голосования.\r\nПри этом я в инспекторе вижу как у формы меняется стиль с display: none на dispay: block\r\nНо форма все равно не показывается :(\r\nДаже, если в консоли вызывать `$('form#vote-answer-41').toggle()`,\r\nто все равно не работает.\r\nЕсли страницу перезагрузить и вызывать из консоли, то все нормально...\r\ngit-ом откатил изменения - не помогло","created_at":"2017-05-22T11:18:45Z","updated_at":"2017-05-22T11:18:45Z","html_url":"https://github.com/Osshrp/qna/pull/7#discussion_r117720626","pull_request_url":"https://api.github.com/repos/Osshrp/qna/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/comments/117720626"},"html":{"href":"https://github.com/Osshrp/qna/pull/7#discussion_r117720626"},"pull_request":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Osshrp/qna/pulls/7","id":121618620,"html_url":"https://github.com/Osshrp/qna/pull/7","diff_url":"https://github.com/Osshrp/qna/pull/7.diff","patch_url":"https://github.com/Osshrp/qna/pull/7.patch","issue_url":"https://api.github.com/repos/Osshrp/qna/issues/7","number":7,"state":"open","locked":false,"title":"L30","user":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-05-20T10:18:13Z","updated_at":"2017-05-22T11:18:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48a91c9a86e75c1197717f17bab53bb2a717f213","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Osshrp/qna/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Osshrp/qna/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Osshrp/qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Osshrp/qna/issues/7/comments","statuses_url":"https://api.github.com/repos/Osshrp/qna/statuses/1b32876c3e85adab811733d4e0d722da74eed5b5","head":{"label":"Osshrp:L30","ref":"L30","sha":"1b32876c3e85adab811733d4e0d722da74eed5b5","user":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"repo":{"id":88744467,"name":"qna","full_name":"Osshrp/qna","owner":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Osshrp/qna","description":null,"fork":false,"url":"https://api.github.com/repos/Osshrp/qna","forks_url":"https://api.github.com/repos/Osshrp/qna/forks","keys_url":"https://api.github.com/repos/Osshrp/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Osshrp/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Osshrp/qna/teams","hooks_url":"https://api.github.com/repos/Osshrp/qna/hooks","issue_events_url":"https://api.github.com/repos/Osshrp/qna/issues/events{/number}","events_url":"https://api.github.com/repos/Osshrp/qna/events","assignees_url":"https://api.github.com/repos/Osshrp/qna/assignees{/user}","branches_url":"https://api.github.com/repos/Osshrp/qna/branches{/branch}","tags_url":"https://api.github.com/repos/Osshrp/qna/tags","blobs_url":"https://api.github.com/repos/Osshrp/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Osshrp/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Osshrp/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Osshrp/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Osshrp/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/Osshrp/qna/languages","stargazers_url":"https://api.github.com/repos/Osshrp/qna/stargazers","contributors_url":"https://api.github.com/repos/Osshrp/qna/contributors","subscribers_url":"https://api.github.com/repos/Osshrp/qna/subscribers","subscription_url":"https://api.github.com/repos/Osshrp/qna/subscription","commits_url":"https://api.github.com/repos/Osshrp/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Osshrp/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Osshrp/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Osshrp/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Osshrp/qna/contents/{+path}","compare_url":"https://api.github.com/repos/Osshrp/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Osshrp/qna/merges","archive_url":"https://api.github.com/repos/Osshrp/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Osshrp/qna/downloads","issues_url":"https://api.github.com/repos/Osshrp/qna/issues{/number}","pulls_url":"https://api.github.com/repos/Osshrp/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/Osshrp/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/Osshrp/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Osshrp/qna/labels{/name}","releases_url":"https://api.github.com/repos/Osshrp/qna/releases{/id}","deployments_url":"https://api.github.com/repos/Osshrp/qna/deployments","created_at":"2017-04-19T12:48:55Z","updated_at":"2017-04-19T12:49:58Z","pushed_at":"2017-05-21T10:36:59Z","git_url":"git://github.com/Osshrp/qna.git","ssh_url":"git@github.com:Osshrp/qna.git","clone_url":"https://github.com/Osshrp/qna.git","svn_url":"https://github.com/Osshrp/qna","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Osshrp:master","ref":"master","sha":"afd8beb8111853ed333e42c785b01464b220d26e","user":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"repo":{"id":88744467,"name":"qna","full_name":"Osshrp/qna","owner":{"login":"Osshrp","id":13249465,"avatar_url":"https://avatars1.githubusercontent.com/u/13249465?v=3","gravatar_id":"","url":"https://api.github.com/users/Osshrp","html_url":"https://github.com/Osshrp","followers_url":"https://api.github.com/users/Osshrp/followers","following_url":"https://api.github.com/users/Osshrp/following{/other_user}","gists_url":"https://api.github.com/users/Osshrp/gists{/gist_id}","starred_url":"https://api.github.com/users/Osshrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osshrp/subscriptions","organizations_url":"https://api.github.com/users/Osshrp/orgs","repos_url":"https://api.github.com/users/Osshrp/repos","events_url":"https://api.github.com/users/Osshrp/events{/privacy}","received_events_url":"https://api.github.com/users/Osshrp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Osshrp/qna","description":null,"fork":false,"url":"https://api.github.com/repos/Osshrp/qna","forks_url":"https://api.github.com/repos/Osshrp/qna/forks","keys_url":"https://api.github.com/repos/Osshrp/qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Osshrp/qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Osshrp/qna/teams","hooks_url":"https://api.github.com/repos/Osshrp/qna/hooks","issue_events_url":"https://api.github.com/repos/Osshrp/qna/issues/events{/number}","events_url":"https://api.github.com/repos/Osshrp/qna/events","assignees_url":"https://api.github.com/repos/Osshrp/qna/assignees{/user}","branches_url":"https://api.github.com/repos/Osshrp/qna/branches{/branch}","tags_url":"https://api.github.com/repos/Osshrp/qna/tags","blobs_url":"https://api.github.com/repos/Osshrp/qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Osshrp/qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Osshrp/qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Osshrp/qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Osshrp/qna/statuses/{sha}","languages_url":"https://api.github.com/repos/Osshrp/qna/languages","stargazers_url":"https://api.github.com/repos/Osshrp/qna/stargazers","contributors_url":"https://api.github.com/repos/Osshrp/qna/contributors","subscribers_url":"https://api.github.com/repos/Osshrp/qna/subscribers","subscription_url":"https://api.github.com/repos/Osshrp/qna/subscription","commits_url":"https://api.github.com/repos/Osshrp/qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Osshrp/qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Osshrp/qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Osshrp/qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Osshrp/qna/contents/{+path}","compare_url":"https://api.github.com/repos/Osshrp/qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Osshrp/qna/merges","archive_url":"https://api.github.com/repos/Osshrp/qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Osshrp/qna/downloads","issues_url":"https://api.github.com/repos/Osshrp/qna/issues{/number}","pulls_url":"https://api.github.com/repos/Osshrp/qna/pulls{/number}","milestones_url":"https://api.github.com/repos/Osshrp/qna/milestones{/number}","notifications_url":"https://api.github.com/repos/Osshrp/qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Osshrp/qna/labels{/name}","releases_url":"https://api.github.com/repos/Osshrp/qna/releases{/id}","deployments_url":"https://api.github.com/repos/Osshrp/qna/deployments","created_at":"2017-04-19T12:48:55Z","updated_at":"2017-04-19T12:49:58Z","pushed_at":"2017-05-21T10:36:59Z","git_url":"git://github.com/Osshrp/qna.git","ssh_url":"git@github.com:Osshrp/qna.git","clone_url":"https://github.com/Osshrp/qna.git","svn_url":"https://github.com/Osshrp/qna","homepage":null,"size":237,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/7"},"html":{"href":"https://github.com/Osshrp/qna/pull/7"},"issue":{"href":"https://api.github.com/repos/Osshrp/qna/issues/7"},"comments":{"href":"https://api.github.com/repos/Osshrp/qna/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Osshrp/qna/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Osshrp/qna/statuses/1b32876c3e85adab811733d4e0d722da74eed5b5"}}}}
{"actor":{"display_login":"Osshrp"}}