{"action":"created","comment":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/78863557","id":78863557,"diff_hunk":"@@ -1,5 +1,74 @@\n 'use strict';\n+var counter=0;\n+var winningCombos = [\n+  [0,1,2],\n+  [3,4,5],\n+  [6,7,8],\n+  [0,4,8],\n+  [6,4,2],\n+  [0,3,6],\n+  [1,4,7],\n+  [2,5,8]\n+];\n \n $(document).on('ready', function() {\n-    // Put app logic in here\n+    $('#clear').click(function(){\n+      clearBoard();\n+      // ('[data-cell]').bind();\n+    });\n+    var playerTurn = 'X';\n+    $('[data-cell]').click(function(){\n+      $('#announce-winner').text('');\n+      if( $(this).text() === ''){\n+        counter++;\n+        $(this).text(playerTurn);\n+\n+        if( checkForWin() ){\n+          $('#announce-winner').html('player ' + playerTurn + ' wins!');\n+          // resetBoard();\n+          // $('[data-cell]').unbind();\n+\n+        }\n+\n+        else if (checkForTie()) {","path":"apps/07jquery-tic-tac-toe/script.js","position":34,"original_position":34,"commit_id":"0b5aa3fdc1e196b40fe21e0ebe3237542ca68a8d","original_commit_id":"0b5aa3fdc1e196b40fe21e0ebe3237542ca68a8d","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Closing curly brace does not appear on the same line as the subsequent block. (brace-style)](https://www.codacy.com/app/AustinCodingAcademy/intermediate-workbook/file/3918995601/issues/source?bid=3643438&fileBranchId=3643464#l33)","created_at":"2016-09-14T23:28:18Z","updated_at":"2016-09-14T23:28:18Z","html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51#discussion_r78863557","pull_request_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/78863557"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51#discussion_r78863557"},"pull_request":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51","id":78776636,"html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51","diff_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51.diff","patch_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51.patch","issue_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/51","number":51,"state":"open","locked":false,"title":"austin.intermediate.summer2.ritterman.judah","user":{"login":"JudahMaceo","id":12768185,"avatar_url":"https://avatars.githubusercontent.com/u/12768185?v=3","gravatar_id":"","url":"https://api.github.com/users/JudahMaceo","html_url":"https://github.com/JudahMaceo","followers_url":"https://api.github.com/users/JudahMaceo/followers","following_url":"https://api.github.com/users/JudahMaceo/following{/other_user}","gists_url":"https://api.github.com/users/JudahMaceo/gists{/gist_id}","starred_url":"https://api.github.com/users/JudahMaceo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JudahMaceo/subscriptions","organizations_url":"https://api.github.com/users/JudahMaceo/orgs","repos_url":"https://api.github.com/users/JudahMaceo/repos","events_url":"https://api.github.com/users/JudahMaceo/events{/privacy}","received_events_url":"https://api.github.com/users/JudahMaceo/received_events","type":"User","site_admin":false},"body":"Judah makes a pull request (lesson 1)","created_at":"2016-07-26T01:00:48Z","updated_at":"2016-09-14T23:28:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87f589ca63f17aae5cd8b753022629526a096cef","assignee":{"login":"paulrenenichols","id":2683933,"avatar_url":"https://avatars.githubusercontent.com/u/2683933?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrenenichols","html_url":"https://github.com/paulrenenichols","followers_url":"https://api.github.com/users/paulrenenichols/followers","following_url":"https://api.github.com/users/paulrenenichols/following{/other_user}","gists_url":"https://api.github.com/users/paulrenenichols/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrenenichols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrenenichols/subscriptions","organizations_url":"https://api.github.com/users/paulrenenichols/orgs","repos_url":"https://api.github.com/users/paulrenenichols/repos","events_url":"https://api.github.com/users/paulrenenichols/events{/privacy}","received_events_url":"https://api.github.com/users/paulrenenichols/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulrenenichols","id":2683933,"avatar_url":"https://avatars.githubusercontent.com/u/2683933?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrenenichols","html_url":"https://github.com/paulrenenichols","followers_url":"https://api.github.com/users/paulrenenichols/followers","following_url":"https://api.github.com/users/paulrenenichols/following{/other_user}","gists_url":"https://api.github.com/users/paulrenenichols/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrenenichols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrenenichols/subscriptions","organizations_url":"https://api.github.com/users/paulrenenichols/orgs","repos_url":"https://api.github.com/users/paulrenenichols/repos","events_url":"https://api.github.com/users/paulrenenichols/events{/privacy}","received_events_url":"https://api.github.com/users/paulrenenichols/received_events","type":"User","site_admin":false},{"login":"ASTPMeetup","id":15767173,"avatar_url":"https://avatars.githubusercontent.com/u/15767173?v=3","gravatar_id":"","url":"https://api.github.com/users/ASTPMeetup","html_url":"https://github.com/ASTPMeetup","followers_url":"https://api.github.com/users/ASTPMeetup/followers","following_url":"https://api.github.com/users/ASTPMeetup/following{/other_user}","gists_url":"https://api.github.com/users/ASTPMeetup/gists{/gist_id}","starred_url":"https://api.github.com/users/ASTPMeetup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ASTPMeetup/subscriptions","organizations_url":"https://api.github.com/users/ASTPMeetup/orgs","repos_url":"https://api.github.com/users/ASTPMeetup/repos","events_url":"https://api.github.com/users/ASTPMeetup/events{/privacy}","received_events_url":"https://api.github.com/users/ASTPMeetup/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51/commits","review_comments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51/comments","review_comment_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/51/comments","statuses_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/0b5aa3fdc1e196b40fe21e0ebe3237542ca68a8d","head":{"label":"JudahMaceo:gh-pages","ref":"gh-pages","sha":"0b5aa3fdc1e196b40fe21e0ebe3237542ca68a8d","user":{"login":"JudahMaceo","id":12768185,"avatar_url":"https://avatars.githubusercontent.com/u/12768185?v=3","gravatar_id":"","url":"https://api.github.com/users/JudahMaceo","html_url":"https://github.com/JudahMaceo","followers_url":"https://api.github.com/users/JudahMaceo/followers","following_url":"https://api.github.com/users/JudahMaceo/following{/other_user}","gists_url":"https://api.github.com/users/JudahMaceo/gists{/gist_id}","starred_url":"https://api.github.com/users/JudahMaceo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JudahMaceo/subscriptions","organizations_url":"https://api.github.com/users/JudahMaceo/orgs","repos_url":"https://api.github.com/users/JudahMaceo/repos","events_url":"https://api.github.com/users/JudahMaceo/events{/privacy}","received_events_url":"https://api.github.com/users/JudahMaceo/received_events","type":"User","site_admin":false},"repo":{"id":64176952,"name":"intermediate-workbook","full_name":"JudahMaceo/intermediate-workbook","owner":{"login":"JudahMaceo","id":12768185,"avatar_url":"https://avatars.githubusercontent.com/u/12768185?v=3","gravatar_id":"","url":"https://api.github.com/users/JudahMaceo","html_url":"https://github.com/JudahMaceo","followers_url":"https://api.github.com/users/JudahMaceo/followers","following_url":"https://api.github.com/users/JudahMaceo/following{/other_user}","gists_url":"https://api.github.com/users/JudahMaceo/gists{/gist_id}","starred_url":"https://api.github.com/users/JudahMaceo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JudahMaceo/subscriptions","organizations_url":"https://api.github.com/users/JudahMaceo/orgs","repos_url":"https://api.github.com/users/JudahMaceo/repos","events_url":"https://api.github.com/users/JudahMaceo/events{/privacy}","received_events_url":"https://api.github.com/users/JudahMaceo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JudahMaceo/intermediate-workbook","description":"Austin Coding Academy - Frontend Intermediate Workbook","fork":true,"url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook","forks_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/forks","keys_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/teams","hooks_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/hooks","issue_events_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/issues/events{/number}","events_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/events","assignees_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/assignees{/user}","branches_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/branches{/branch}","tags_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/tags","blobs_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/statuses/{sha}","languages_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/languages","stargazers_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/stargazers","contributors_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/contributors","subscribers_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/subscribers","subscription_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/subscription","commits_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/contents/{+path}","compare_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/merges","archive_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/downloads","issues_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/issues{/number}","pulls_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/pulls{/number}","milestones_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/milestones{/number}","notifications_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/labels{/name}","releases_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/releases{/id}","deployments_url":"https://api.github.com/repos/JudahMaceo/intermediate-workbook/deployments","created_at":"2016-07-26T00:29:40Z","updated_at":"2016-07-26T00:29:41Z","pushed_at":"2016-09-14T23:26:34Z","git_url":"git://github.com/JudahMaceo/intermediate-workbook.git","ssh_url":"git@github.com:JudahMaceo/intermediate-workbook.git","clone_url":"https://github.com/JudahMaceo/intermediate-workbook.git","svn_url":"https://github.com/JudahMaceo/intermediate-workbook","homepage":"http://austincodingacademy.github.io/frontend-intermediate-workbook","size":230,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"AustinCodingAcademy:gh-pages","ref":"gh-pages","sha":"9bdce56956e0da07258da167ffb18f617288452f","user":{"login":"AustinCodingAcademy","id":8907893,"avatar_url":"https://avatars.githubusercontent.com/u/8907893?v=3","gravatar_id":"","url":"https://api.github.com/users/AustinCodingAcademy","html_url":"https://github.com/AustinCodingAcademy","followers_url":"https://api.github.com/users/AustinCodingAcademy/followers","following_url":"https://api.github.com/users/AustinCodingAcademy/following{/other_user}","gists_url":"https://api.github.com/users/AustinCodingAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinCodingAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinCodingAcademy/subscriptions","organizations_url":"https://api.github.com/users/AustinCodingAcademy/orgs","repos_url":"https://api.github.com/users/AustinCodingAcademy/repos","events_url":"https://api.github.com/users/AustinCodingAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/AustinCodingAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":45587428,"name":"intermediate-workbook","full_name":"AustinCodingAcademy/intermediate-workbook","owner":{"login":"AustinCodingAcademy","id":8907893,"avatar_url":"https://avatars.githubusercontent.com/u/8907893?v=3","gravatar_id":"","url":"https://api.github.com/users/AustinCodingAcademy","html_url":"https://github.com/AustinCodingAcademy","followers_url":"https://api.github.com/users/AustinCodingAcademy/followers","following_url":"https://api.github.com/users/AustinCodingAcademy/following{/other_user}","gists_url":"https://api.github.com/users/AustinCodingAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/AustinCodingAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AustinCodingAcademy/subscriptions","organizations_url":"https://api.github.com/users/AustinCodingAcademy/orgs","repos_url":"https://api.github.com/users/AustinCodingAcademy/repos","events_url":"https://api.github.com/users/AustinCodingAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/AustinCodingAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook","description":"Austin Coding Academy - Intermediate Workbook","fork":false,"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook","forks_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/forks","keys_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/teams","hooks_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/hooks","issue_events_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/events{/number}","events_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/events","assignees_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/assignees{/user}","branches_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/branches{/branch}","tags_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/tags","blobs_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/{sha}","languages_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/languages","stargazers_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/stargazers","contributors_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/contributors","subscribers_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/subscribers","subscription_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/subscription","commits_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/contents/{+path}","compare_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/merges","archive_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/downloads","issues_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues{/number}","pulls_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls{/number}","milestones_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/milestones{/number}","notifications_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/labels{/name}","releases_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/releases{/id}","deployments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/deployments","created_at":"2015-11-05T04:24:51Z","updated_at":"2016-08-29T22:54:46Z","pushed_at":"2016-09-14T23:26:34Z","git_url":"git://github.com/AustinCodingAcademy/intermediate-workbook.git","ssh_url":"git@github.com:AustinCodingAcademy/intermediate-workbook.git","clone_url":"https://github.com/AustinCodingAcademy/intermediate-workbook.git","svn_url":"https://github.com/AustinCodingAcademy/intermediate-workbook","homepage":"http://austincodingacademy.github.io/intermediate-workbook","size":19509,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":60,"mirror_url":null,"open_issues_count":27,"forks":60,"open_issues":27,"watchers":4,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/51"},"issue":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/51"},"comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/0b5aa3fdc1e196b40fe21e0ebe3237542ca68a8d"}}}}
{"actor":{"display_login":"codacy-bot"}}