{"action":"created","comment":{"url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/comments/92944995","pull_request_review_id":13467407,"id":92944995,"diff_hunk":"@@ -0,0 +1,23 @@\n+// Draw and forfeit actions\n+\n+$ ->\n+  window.broadcast_channel.bind 'draw_forfeit', (event) ->\n+    $('#message').html(event.message)\n+\n+// Show default buttons","path":"app/assets/javascripts/application.js.coffee","position":7,"original_position":7,"commit_id":"110d0b435eccdeb653774074b6db8d98c3bee746","original_commit_id":"110d0b435eccdeb653774074b6db8d98c3bee746","user":{"login":"FsDevNinja","id":22031969,"avatar_url":"https://avatars.githubusercontent.com/u/22031969?v=3","gravatar_id":"","url":"https://api.github.com/users/FsDevNinja","html_url":"https://github.com/FsDevNinja","followers_url":"https://api.github.com/users/FsDevNinja/followers","following_url":"https://api.github.com/users/FsDevNinja/following{/other_user}","gists_url":"https://api.github.com/users/FsDevNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/FsDevNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FsDevNinja/subscriptions","organizations_url":"https://api.github.com/users/FsDevNinja/orgs","repos_url":"https://api.github.com/users/FsDevNinja/repos","events_url":"https://api.github.com/users/FsDevNinja/events{/privacy}","received_events_url":"https://api.github.com/users/FsDevNinja/received_events","type":"User","site_admin":false},"body":"`//` is not a comment in coffee i dont think. Did get an error for this. Changed it to # and error went away.","created_at":"2016-12-18T16:36:25Z","updated_at":"2016-12-18T16:36:25Z","html_url":"https://github.com/the-cheaters/up-all-knight/pull/54#discussion_r92944995","pull_request_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/comments/92944995"},"html":{"href":"https://github.com/the-cheaters/up-all-knight/pull/54#discussion_r92944995"},"pull_request":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54","id":97434345,"html_url":"https://github.com/the-cheaters/up-all-knight/pull/54","diff_url":"https://github.com/the-cheaters/up-all-knight/pull/54.diff","patch_url":"https://github.com/the-cheaters/up-all-knight/pull/54.patch","issue_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/54","number":54,"state":"open","locked":false,"title":"Add actions for draw and forfeit","user":{"login":"kellylougheed","id":18649466,"avatar_url":"https://avatars.githubusercontent.com/u/18649466?v=3","gravatar_id":"","url":"https://api.github.com/users/kellylougheed","html_url":"https://github.com/kellylougheed","followers_url":"https://api.github.com/users/kellylougheed/followers","following_url":"https://api.github.com/users/kellylougheed/following{/other_user}","gists_url":"https://api.github.com/users/kellylougheed/gists{/gist_id}","starred_url":"https://api.github.com/users/kellylougheed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellylougheed/subscriptions","organizations_url":"https://api.github.com/users/kellylougheed/orgs","repos_url":"https://api.github.com/users/kellylougheed/repos","events_url":"https://api.github.com/users/kellylougheed/events{/privacy}","received_events_url":"https://api.github.com/users/kellylougheed/received_events","type":"User","site_admin":false},"body":"IN PROGRESS! So far...\r\n- Added buttons to for players to draw, reject a draw, and forfeit on the show page.\r\n- Added user authentication before most actions (except the index page) and updated tests accordingly.\r\n\r\nStill need to...\r\n- Add web sockets.\r\n- Write TESTS!!!!\r\n\r\nQuestion: I know how to make JavaScript show messages on the screen, but how do I make the JavaScript show messages to specific users (one player but not the other)?","created_at":"2016-12-10T19:00:39Z","updated_at":"2016-12-18T16:46:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37d6d0a6ae5c8ec17d819d15a78ccc5871b7835b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54/commits","review_comments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54/comments","review_comment_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/54/comments","statuses_url":"https://api.github.com/repos/the-cheaters/up-all-knight/statuses/110d0b435eccdeb653774074b6db8d98c3bee746","head":{"label":"the-cheaters:forfeit","ref":"forfeit","sha":"110d0b435eccdeb653774074b6db8d98c3bee746","user":{"login":"the-cheaters","id":23323498,"avatar_url":"https://avatars.githubusercontent.com/u/23323498?v=3","gravatar_id":"","url":"https://api.github.com/users/the-cheaters","html_url":"https://github.com/the-cheaters","followers_url":"https://api.github.com/users/the-cheaters/followers","following_url":"https://api.github.com/users/the-cheaters/following{/other_user}","gists_url":"https://api.github.com/users/the-cheaters/gists{/gist_id}","starred_url":"https://api.github.com/users/the-cheaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-cheaters/subscriptions","organizations_url":"https://api.github.com/users/the-cheaters/orgs","repos_url":"https://api.github.com/users/the-cheaters/repos","events_url":"https://api.github.com/users/the-cheaters/events{/privacy}","received_events_url":"https://api.github.com/users/the-cheaters/received_events","type":"Organization","site_admin":false},"repo":{"id":73124016,"name":"up-all-knight","full_name":"the-cheaters/up-all-knight","owner":{"login":"the-cheaters","id":23323498,"avatar_url":"https://avatars.githubusercontent.com/u/23323498?v=3","gravatar_id":"","url":"https://api.github.com/users/the-cheaters","html_url":"https://github.com/the-cheaters","followers_url":"https://api.github.com/users/the-cheaters/followers","following_url":"https://api.github.com/users/the-cheaters/following{/other_user}","gists_url":"https://api.github.com/users/the-cheaters/gists{/gist_id}","starred_url":"https://api.github.com/users/the-cheaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-cheaters/subscriptions","organizations_url":"https://api.github.com/users/the-cheaters/orgs","repos_url":"https://api.github.com/users/the-cheaters/repos","events_url":"https://api.github.com/users/the-cheaters/events{/privacy}","received_events_url":"https://api.github.com/users/the-cheaters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/the-cheaters/up-all-knight","description":null,"fork":false,"url":"https://api.github.com/repos/the-cheaters/up-all-knight","forks_url":"https://api.github.com/repos/the-cheaters/up-all-knight/forks","keys_url":"https://api.github.com/repos/the-cheaters/up-all-knight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-cheaters/up-all-knight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-cheaters/up-all-knight/teams","hooks_url":"https://api.github.com/repos/the-cheaters/up-all-knight/hooks","issue_events_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/events{/number}","events_url":"https://api.github.com/repos/the-cheaters/up-all-knight/events","assignees_url":"https://api.github.com/repos/the-cheaters/up-all-knight/assignees{/user}","branches_url":"https://api.github.com/repos/the-cheaters/up-all-knight/branches{/branch}","tags_url":"https://api.github.com/repos/the-cheaters/up-all-knight/tags","blobs_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-cheaters/up-all-knight/statuses/{sha}","languages_url":"https://api.github.com/repos/the-cheaters/up-all-knight/languages","stargazers_url":"https://api.github.com/repos/the-cheaters/up-all-knight/stargazers","contributors_url":"https://api.github.com/repos/the-cheaters/up-all-knight/contributors","subscribers_url":"https://api.github.com/repos/the-cheaters/up-all-knight/subscribers","subscription_url":"https://api.github.com/repos/the-cheaters/up-all-knight/subscription","commits_url":"https://api.github.com/repos/the-cheaters/up-all-knight/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-cheaters/up-all-knight/contents/{+path}","compare_url":"https://api.github.com/repos/the-cheaters/up-all-knight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-cheaters/up-all-knight/merges","archive_url":"https://api.github.com/repos/the-cheaters/up-all-knight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-cheaters/up-all-knight/downloads","issues_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues{/number}","pulls_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls{/number}","milestones_url":"https://api.github.com/repos/the-cheaters/up-all-knight/milestones{/number}","notifications_url":"https://api.github.com/repos/the-cheaters/up-all-knight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-cheaters/up-all-knight/labels{/name}","releases_url":"https://api.github.com/repos/the-cheaters/up-all-knight/releases{/id}","deployments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/deployments","created_at":"2016-11-07T21:49:25Z","updated_at":"2016-12-14T15:52:10Z","pushed_at":"2016-12-18T12:11:37Z","git_url":"git://github.com/the-cheaters/up-all-knight.git","ssh_url":"git@github.com:the-cheaters/up-all-knight.git","clone_url":"https://github.com/the-cheaters/up-all-knight.git","svn_url":"https://github.com/the-cheaters/up-all-knight","homepage":null,"size":339,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"the-cheaters:master","ref":"master","sha":"632c1f85b36cd7026c3889c20b5707570e95465d","user":{"login":"the-cheaters","id":23323498,"avatar_url":"https://avatars.githubusercontent.com/u/23323498?v=3","gravatar_id":"","url":"https://api.github.com/users/the-cheaters","html_url":"https://github.com/the-cheaters","followers_url":"https://api.github.com/users/the-cheaters/followers","following_url":"https://api.github.com/users/the-cheaters/following{/other_user}","gists_url":"https://api.github.com/users/the-cheaters/gists{/gist_id}","starred_url":"https://api.github.com/users/the-cheaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-cheaters/subscriptions","organizations_url":"https://api.github.com/users/the-cheaters/orgs","repos_url":"https://api.github.com/users/the-cheaters/repos","events_url":"https://api.github.com/users/the-cheaters/events{/privacy}","received_events_url":"https://api.github.com/users/the-cheaters/received_events","type":"Organization","site_admin":false},"repo":{"id":73124016,"name":"up-all-knight","full_name":"the-cheaters/up-all-knight","owner":{"login":"the-cheaters","id":23323498,"avatar_url":"https://avatars.githubusercontent.com/u/23323498?v=3","gravatar_id":"","url":"https://api.github.com/users/the-cheaters","html_url":"https://github.com/the-cheaters","followers_url":"https://api.github.com/users/the-cheaters/followers","following_url":"https://api.github.com/users/the-cheaters/following{/other_user}","gists_url":"https://api.github.com/users/the-cheaters/gists{/gist_id}","starred_url":"https://api.github.com/users/the-cheaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-cheaters/subscriptions","organizations_url":"https://api.github.com/users/the-cheaters/orgs","repos_url":"https://api.github.com/users/the-cheaters/repos","events_url":"https://api.github.com/users/the-cheaters/events{/privacy}","received_events_url":"https://api.github.com/users/the-cheaters/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/the-cheaters/up-all-knight","description":null,"fork":false,"url":"https://api.github.com/repos/the-cheaters/up-all-knight","forks_url":"https://api.github.com/repos/the-cheaters/up-all-knight/forks","keys_url":"https://api.github.com/repos/the-cheaters/up-all-knight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-cheaters/up-all-knight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-cheaters/up-all-knight/teams","hooks_url":"https://api.github.com/repos/the-cheaters/up-all-knight/hooks","issue_events_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/events{/number}","events_url":"https://api.github.com/repos/the-cheaters/up-all-knight/events","assignees_url":"https://api.github.com/repos/the-cheaters/up-all-knight/assignees{/user}","branches_url":"https://api.github.com/repos/the-cheaters/up-all-knight/branches{/branch}","tags_url":"https://api.github.com/repos/the-cheaters/up-all-knight/tags","blobs_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-cheaters/up-all-knight/statuses/{sha}","languages_url":"https://api.github.com/repos/the-cheaters/up-all-knight/languages","stargazers_url":"https://api.github.com/repos/the-cheaters/up-all-knight/stargazers","contributors_url":"https://api.github.com/repos/the-cheaters/up-all-knight/contributors","subscribers_url":"https://api.github.com/repos/the-cheaters/up-all-knight/subscribers","subscription_url":"https://api.github.com/repos/the-cheaters/up-all-knight/subscription","commits_url":"https://api.github.com/repos/the-cheaters/up-all-knight/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-cheaters/up-all-knight/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-cheaters/up-all-knight/contents/{+path}","compare_url":"https://api.github.com/repos/the-cheaters/up-all-knight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-cheaters/up-all-knight/merges","archive_url":"https://api.github.com/repos/the-cheaters/up-all-knight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-cheaters/up-all-knight/downloads","issues_url":"https://api.github.com/repos/the-cheaters/up-all-knight/issues{/number}","pulls_url":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls{/number}","milestones_url":"https://api.github.com/repos/the-cheaters/up-all-knight/milestones{/number}","notifications_url":"https://api.github.com/repos/the-cheaters/up-all-knight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-cheaters/up-all-knight/labels{/name}","releases_url":"https://api.github.com/repos/the-cheaters/up-all-knight/releases{/id}","deployments_url":"https://api.github.com/repos/the-cheaters/up-all-knight/deployments","created_at":"2016-11-07T21:49:25Z","updated_at":"2016-12-14T15:52:10Z","pushed_at":"2016-12-18T12:11:37Z","git_url":"git://github.com/the-cheaters/up-all-knight.git","ssh_url":"git@github.com:the-cheaters/up-all-knight.git","clone_url":"https://github.com/the-cheaters/up-all-knight.git","svn_url":"https://github.com/the-cheaters/up-all-knight","homepage":null,"size":339,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54"},"html":{"href":"https://github.com/the-cheaters/up-all-knight/pull/54"},"issue":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/54"},"comments":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/the-cheaters/up-all-knight/statuses/110d0b435eccdeb653774074b6db8d98c3bee746"}}}}
{"actor":{"display_login":"FsDevNinja"}}