{"action":"created","comment":{"url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/comments/83457195","pull_request_review_id":4302155,"id":83457195,"diff_hunk":"@@ -0,0 +1,61 @@\n+// $(document).ready(function() {\n+//   debugger;\n+//   $('.upvote').on('click', function(event) {\n+//     event.preventDefault();\n+//\n+//     let url = this.parentElement.action;\n+//     debugger;\n+//     let currentTarget = $(event.currentTarget);\n+//     let id = parseInt(this.id);\n+//\n+//     let request = $.ajax({\n+//       method: \"POST\",\n+//       url: `${url}.json`\n+//     });\n+//\n+//     request.done(function(data) {\n+//       document.getElementById(`total${id}`).innerHTML = data.vote;\n+//     })\n+//   });\n+//\n+//   $('.downvote').on('click', function(event) {\n+//     event.preventDefault();\n+//\n+//     let request = $.ajax({\n+//       method: \"POST\",\n+//       url: \"/review/id/downvote\"\n+//     });\n+//\n+//     request.done()\n+//   });\n+// })\n+\n+function upvoteButton() {\n+  event.preventDefault();\n+  let id = event.currentTarget.id;\n+\n+  let request = $.ajax({\n+    url: `/reviews/${id}/upvote.json`,","path":"app/assets/javascripts/vote.js","position":38,"original_position":38,"commit_id":"6949c1344e2f2298cf69d8e12f10bcbe7eaaec6d","original_commit_id":"6949c1344e2f2298cf69d8e12f10bcbe7eaaec6d","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'template literal syntax' is only available in ES6 (use 'esversion: 6').","created_at":"2016-10-14T16:34:06Z","updated_at":"2016-10-14T16:34:07Z","html_url":"https://github.com/carystokes/cookie_monstah/pull/30#discussion_r83457195","pull_request_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/comments/83457195"},"html":{"href":"https://github.com/carystokes/cookie_monstah/pull/30#discussion_r83457195"},"pull_request":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30","id":89414833,"html_url":"https://github.com/carystokes/cookie_monstah/pull/30","diff_url":"https://github.com/carystokes/cookie_monstah/pull/30.diff","patch_url":"https://github.com/carystokes/cookie_monstah/pull/30.patch","issue_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/30","number":30,"state":"open","locked":false,"title":"Ajax","user":{"login":"mhawley1230","id":12414030,"avatar_url":"https://avatars.githubusercontent.com/u/12414030?v=3","gravatar_id":"","url":"https://api.github.com/users/mhawley1230","html_url":"https://github.com/mhawley1230","followers_url":"https://api.github.com/users/mhawley1230/followers","following_url":"https://api.github.com/users/mhawley1230/following{/other_user}","gists_url":"https://api.github.com/users/mhawley1230/gists{/gist_id}","starred_url":"https://api.github.com/users/mhawley1230/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhawley1230/subscriptions","organizations_url":"https://api.github.com/users/mhawley1230/orgs","repos_url":"https://api.github.com/users/mhawley1230/repos","events_url":"https://api.github.com/users/mhawley1230/events{/privacy}","received_events_url":"https://api.github.com/users/mhawley1230/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-14T16:30:14Z","updated_at":"2016-10-14T16:34:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa76398fa43f6caf44118b1957b8cb0ca7355c36","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30/commits","review_comments_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30/comments","review_comment_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/30/comments","statuses_url":"https://api.github.com/repos/carystokes/cookie_monstah/statuses/6949c1344e2f2298cf69d8e12f10bcbe7eaaec6d","head":{"label":"carystokes:ajax","ref":"ajax","sha":"6949c1344e2f2298cf69d8e12f10bcbe7eaaec6d","user":{"login":"carystokes","id":18637300,"avatar_url":"https://avatars.githubusercontent.com/u/18637300?v=3","gravatar_id":"","url":"https://api.github.com/users/carystokes","html_url":"https://github.com/carystokes","followers_url":"https://api.github.com/users/carystokes/followers","following_url":"https://api.github.com/users/carystokes/following{/other_user}","gists_url":"https://api.github.com/users/carystokes/gists{/gist_id}","starred_url":"https://api.github.com/users/carystokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carystokes/subscriptions","organizations_url":"https://api.github.com/users/carystokes/orgs","repos_url":"https://api.github.com/users/carystokes/repos","events_url":"https://api.github.com/users/carystokes/events{/privacy}","received_events_url":"https://api.github.com/users/carystokes/received_events","type":"User","site_admin":false},"repo":{"id":69880278,"name":"cookie_monstah","full_name":"carystokes/cookie_monstah","owner":{"login":"carystokes","id":18637300,"avatar_url":"https://avatars.githubusercontent.com/u/18637300?v=3","gravatar_id":"","url":"https://api.github.com/users/carystokes","html_url":"https://github.com/carystokes","followers_url":"https://api.github.com/users/carystokes/followers","following_url":"https://api.github.com/users/carystokes/following{/other_user}","gists_url":"https://api.github.com/users/carystokes/gists{/gist_id}","starred_url":"https://api.github.com/users/carystokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carystokes/subscriptions","organizations_url":"https://api.github.com/users/carystokes/orgs","repos_url":"https://api.github.com/users/carystokes/repos","events_url":"https://api.github.com/users/carystokes/events{/privacy}","received_events_url":"https://api.github.com/users/carystokes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carystokes/cookie_monstah","description":null,"fork":false,"url":"https://api.github.com/repos/carystokes/cookie_monstah","forks_url":"https://api.github.com/repos/carystokes/cookie_monstah/forks","keys_url":"https://api.github.com/repos/carystokes/cookie_monstah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carystokes/cookie_monstah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carystokes/cookie_monstah/teams","hooks_url":"https://api.github.com/repos/carystokes/cookie_monstah/hooks","issue_events_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/events{/number}","events_url":"https://api.github.com/repos/carystokes/cookie_monstah/events","assignees_url":"https://api.github.com/repos/carystokes/cookie_monstah/assignees{/user}","branches_url":"https://api.github.com/repos/carystokes/cookie_monstah/branches{/branch}","tags_url":"https://api.github.com/repos/carystokes/cookie_monstah/tags","blobs_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/refs{/sha}","trees_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carystokes/cookie_monstah/statuses/{sha}","languages_url":"https://api.github.com/repos/carystokes/cookie_monstah/languages","stargazers_url":"https://api.github.com/repos/carystokes/cookie_monstah/stargazers","contributors_url":"https://api.github.com/repos/carystokes/cookie_monstah/contributors","subscribers_url":"https://api.github.com/repos/carystokes/cookie_monstah/subscribers","subscription_url":"https://api.github.com/repos/carystokes/cookie_monstah/subscription","commits_url":"https://api.github.com/repos/carystokes/cookie_monstah/commits{/sha}","git_commits_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/commits{/sha}","comments_url":"https://api.github.com/repos/carystokes/cookie_monstah/comments{/number}","issue_comment_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/comments{/number}","contents_url":"https://api.github.com/repos/carystokes/cookie_monstah/contents/{+path}","compare_url":"https://api.github.com/repos/carystokes/cookie_monstah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carystokes/cookie_monstah/merges","archive_url":"https://api.github.com/repos/carystokes/cookie_monstah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carystokes/cookie_monstah/downloads","issues_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues{/number}","pulls_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls{/number}","milestones_url":"https://api.github.com/repos/carystokes/cookie_monstah/milestones{/number}","notifications_url":"https://api.github.com/repos/carystokes/cookie_monstah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carystokes/cookie_monstah/labels{/name}","releases_url":"https://api.github.com/repos/carystokes/cookie_monstah/releases{/id}","deployments_url":"https://api.github.com/repos/carystokes/cookie_monstah/deployments","created_at":"2016-10-03T14:45:21Z","updated_at":"2016-10-03T15:08:55Z","pushed_at":"2016-10-14T16:33:58Z","git_url":"git://github.com/carystokes/cookie_monstah.git","ssh_url":"git@github.com:carystokes/cookie_monstah.git","clone_url":"https://github.com/carystokes/cookie_monstah.git","svn_url":"https://github.com/carystokes/cookie_monstah","homepage":null,"size":34231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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":"carystokes:master","ref":"master","sha":"d670f94c40dce8804a820905c340d89ee331f36f","user":{"login":"carystokes","id":18637300,"avatar_url":"https://avatars.githubusercontent.com/u/18637300?v=3","gravatar_id":"","url":"https://api.github.com/users/carystokes","html_url":"https://github.com/carystokes","followers_url":"https://api.github.com/users/carystokes/followers","following_url":"https://api.github.com/users/carystokes/following{/other_user}","gists_url":"https://api.github.com/users/carystokes/gists{/gist_id}","starred_url":"https://api.github.com/users/carystokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carystokes/subscriptions","organizations_url":"https://api.github.com/users/carystokes/orgs","repos_url":"https://api.github.com/users/carystokes/repos","events_url":"https://api.github.com/users/carystokes/events{/privacy}","received_events_url":"https://api.github.com/users/carystokes/received_events","type":"User","site_admin":false},"repo":{"id":69880278,"name":"cookie_monstah","full_name":"carystokes/cookie_monstah","owner":{"login":"carystokes","id":18637300,"avatar_url":"https://avatars.githubusercontent.com/u/18637300?v=3","gravatar_id":"","url":"https://api.github.com/users/carystokes","html_url":"https://github.com/carystokes","followers_url":"https://api.github.com/users/carystokes/followers","following_url":"https://api.github.com/users/carystokes/following{/other_user}","gists_url":"https://api.github.com/users/carystokes/gists{/gist_id}","starred_url":"https://api.github.com/users/carystokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carystokes/subscriptions","organizations_url":"https://api.github.com/users/carystokes/orgs","repos_url":"https://api.github.com/users/carystokes/repos","events_url":"https://api.github.com/users/carystokes/events{/privacy}","received_events_url":"https://api.github.com/users/carystokes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carystokes/cookie_monstah","description":null,"fork":false,"url":"https://api.github.com/repos/carystokes/cookie_monstah","forks_url":"https://api.github.com/repos/carystokes/cookie_monstah/forks","keys_url":"https://api.github.com/repos/carystokes/cookie_monstah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carystokes/cookie_monstah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carystokes/cookie_monstah/teams","hooks_url":"https://api.github.com/repos/carystokes/cookie_monstah/hooks","issue_events_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/events{/number}","events_url":"https://api.github.com/repos/carystokes/cookie_monstah/events","assignees_url":"https://api.github.com/repos/carystokes/cookie_monstah/assignees{/user}","branches_url":"https://api.github.com/repos/carystokes/cookie_monstah/branches{/branch}","tags_url":"https://api.github.com/repos/carystokes/cookie_monstah/tags","blobs_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/refs{/sha}","trees_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carystokes/cookie_monstah/statuses/{sha}","languages_url":"https://api.github.com/repos/carystokes/cookie_monstah/languages","stargazers_url":"https://api.github.com/repos/carystokes/cookie_monstah/stargazers","contributors_url":"https://api.github.com/repos/carystokes/cookie_monstah/contributors","subscribers_url":"https://api.github.com/repos/carystokes/cookie_monstah/subscribers","subscription_url":"https://api.github.com/repos/carystokes/cookie_monstah/subscription","commits_url":"https://api.github.com/repos/carystokes/cookie_monstah/commits{/sha}","git_commits_url":"https://api.github.com/repos/carystokes/cookie_monstah/git/commits{/sha}","comments_url":"https://api.github.com/repos/carystokes/cookie_monstah/comments{/number}","issue_comment_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues/comments{/number}","contents_url":"https://api.github.com/repos/carystokes/cookie_monstah/contents/{+path}","compare_url":"https://api.github.com/repos/carystokes/cookie_monstah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carystokes/cookie_monstah/merges","archive_url":"https://api.github.com/repos/carystokes/cookie_monstah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carystokes/cookie_monstah/downloads","issues_url":"https://api.github.com/repos/carystokes/cookie_monstah/issues{/number}","pulls_url":"https://api.github.com/repos/carystokes/cookie_monstah/pulls{/number}","milestones_url":"https://api.github.com/repos/carystokes/cookie_monstah/milestones{/number}","notifications_url":"https://api.github.com/repos/carystokes/cookie_monstah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carystokes/cookie_monstah/labels{/name}","releases_url":"https://api.github.com/repos/carystokes/cookie_monstah/releases{/id}","deployments_url":"https://api.github.com/repos/carystokes/cookie_monstah/deployments","created_at":"2016-10-03T14:45:21Z","updated_at":"2016-10-03T15:08:55Z","pushed_at":"2016-10-14T16:33:58Z","git_url":"git://github.com/carystokes/cookie_monstah.git","ssh_url":"git@github.com:carystokes/cookie_monstah.git","clone_url":"https://github.com/carystokes/cookie_monstah.git","svn_url":"https://github.com/carystokes/cookie_monstah","homepage":null,"size":34231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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/carystokes/cookie_monstah/pulls/30"},"html":{"href":"https://github.com/carystokes/cookie_monstah/pull/30"},"issue":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/issues/30"},"comments":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/carystokes/cookie_monstah/statuses/6949c1344e2f2298cf69d8e12f10bcbe7eaaec6d"}}}}
{"actor":{"display_login":"houndci-bot"}}