{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/comments/33974725","id":33974725,"diff_hunk":"@@ -0,0 +1,92 @@\n+function isValid(btn) {\n+  return btn.innerText.length == 0;\n+}\n+\n+function checkForWinner (squares, players, currentTurn) {\n+  if (squares [0].innerText == players[currentTurn] &&\n+      squares [1].innerText == players[currentTurn] &&\n+      squares [2].innerText == players[currentTurn]) {\n+      return true;","path":"script.js","position":9,"original_position":9,"commit_id":"53f957cfabeecfb62f83f8c24201e05ddd2eca5f","original_commit_id":"53f957cfabeecfb62f83f8c24201e05ddd2eca5f","user":{"login":"RobertAKARobin","id":6268177,"avatar_url":"https://avatars.githubusercontent.com/u/6268177?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertAKARobin","html_url":"https://github.com/RobertAKARobin","followers_url":"https://api.github.com/users/RobertAKARobin/followers","following_url":"https://api.github.com/users/RobertAKARobin/following{/other_user}","gists_url":"https://api.github.com/users/RobertAKARobin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertAKARobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertAKARobin/subscriptions","organizations_url":"https://api.github.com/users/RobertAKARobin/orgs","repos_url":"https://api.github.com/users/RobertAKARobin/repos","events_url":"https://api.github.com/users/RobertAKARobin/events{/privacy}","received_events_url":"https://api.github.com/users/RobertAKARobin/received_events","type":"User","site_admin":false},"body":"This must have been fun to write.","created_at":"2015-07-06T19:50:51Z","updated_at":"2015-07-06T19:50:51Z","html_url":"https://github.com/ga-dc/tic_tac_toe/pull/37#discussion_r33974725","pull_request_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/comments/33974725"},"html":{"href":"https://github.com/ga-dc/tic_tac_toe/pull/37#discussion_r33974725"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37","id":39258251,"html_url":"https://github.com/ga-dc/tic_tac_toe/pull/37","diff_url":"https://github.com/ga-dc/tic_tac_toe/pull/37.diff","patch_url":"https://github.com/ga-dc/tic_tac_toe/pull/37.patch","issue_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/37","number":37,"state":"open","locked":false,"title":"first commit","user":{"login":"YvonneWang","id":10837726,"avatar_url":"https://avatars.githubusercontent.com/u/10837726?v=3","gravatar_id":"","url":"https://api.github.com/users/YvonneWang","html_url":"https://github.com/YvonneWang","followers_url":"https://api.github.com/users/YvonneWang/followers","following_url":"https://api.github.com/users/YvonneWang/following{/other_user}","gists_url":"https://api.github.com/users/YvonneWang/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneWang/subscriptions","organizations_url":"https://api.github.com/users/YvonneWang/orgs","repos_url":"https://api.github.com/users/YvonneWang/repos","events_url":"https://api.github.com/users/YvonneWang/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneWang/received_events","type":"User","site_admin":false},"body":"comfort level: 3/5\r\ncompleteness:4/5\r\n\r\nI messed up somewhere, but I will go back and redo this.","created_at":"2015-07-06T11:26:29Z","updated_at":"2015-07-06T19:50:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"767d72fe8c2082689e2a9613b27f630f6c72e246","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37/commits","review_comments_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37/comments","review_comment_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/37/comments","statuses_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/statuses/53f957cfabeecfb62f83f8c24201e05ddd2eca5f","head":{"label":"YvonneWang:master","ref":"master","sha":"53f957cfabeecfb62f83f8c24201e05ddd2eca5f","user":{"login":"YvonneWang","id":10837726,"avatar_url":"https://avatars.githubusercontent.com/u/10837726?v=3","gravatar_id":"","url":"https://api.github.com/users/YvonneWang","html_url":"https://github.com/YvonneWang","followers_url":"https://api.github.com/users/YvonneWang/followers","following_url":"https://api.github.com/users/YvonneWang/following{/other_user}","gists_url":"https://api.github.com/users/YvonneWang/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneWang/subscriptions","organizations_url":"https://api.github.com/users/YvonneWang/orgs","repos_url":"https://api.github.com/users/YvonneWang/repos","events_url":"https://api.github.com/users/YvonneWang/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneWang/received_events","type":"User","site_admin":false},"repo":{"id":38579804,"name":"tic_tac_toe","full_name":"YvonneWang/tic_tac_toe","owner":{"login":"YvonneWang","id":10837726,"avatar_url":"https://avatars.githubusercontent.com/u/10837726?v=3","gravatar_id":"","url":"https://api.github.com/users/YvonneWang","html_url":"https://github.com/YvonneWang","followers_url":"https://api.github.com/users/YvonneWang/followers","following_url":"https://api.github.com/users/YvonneWang/following{/other_user}","gists_url":"https://api.github.com/users/YvonneWang/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneWang/subscriptions","organizations_url":"https://api.github.com/users/YvonneWang/orgs","repos_url":"https://api.github.com/users/YvonneWang/repos","events_url":"https://api.github.com/users/YvonneWang/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneWang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YvonneWang/tic_tac_toe","description":"Use pure HTML and CSS to create a simple tic-tac-toe game. [javascript, events]","fork":true,"url":"https://api.github.com/repos/YvonneWang/tic_tac_toe","forks_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/forks","keys_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/teams","hooks_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/hooks","issue_events_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/issues/events{/number}","events_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/events","assignees_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/assignees{/user}","branches_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/branches{/branch}","tags_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/tags","blobs_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/statuses/{sha}","languages_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/languages","stargazers_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/stargazers","contributors_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/contributors","subscribers_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/subscribers","subscription_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/subscription","commits_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/contents/{+path}","compare_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/merges","archive_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/downloads","issues_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/issues{/number}","pulls_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/pulls{/number}","milestones_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/milestones{/number}","notifications_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/labels{/name}","releases_url":"https://api.github.com/repos/YvonneWang/tic_tac_toe/releases{/id}","created_at":"2015-07-05T18:44:12Z","updated_at":"2015-07-06T11:20:25Z","pushed_at":"2015-07-06T11:20:25Z","git_url":"git://github.com/YvonneWang/tic_tac_toe.git","ssh_url":"git@github.com:YvonneWang/tic_tac_toe.git","clone_url":"https://github.com/YvonneWang/tic_tac_toe.git","svn_url":"https://github.com/YvonneWang/tic_tac_toe","homepage":"","size":124,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ga-dc:master","ref":"master","sha":"eb2dff74d4b995aff8e672bce7cca421dd99d90f","user":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"repo":{"id":37617686,"name":"tic_tac_toe","full_name":"ga-dc/tic_tac_toe","owner":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-dc/tic_tac_toe","description":"Use pure HTML and CSS to create a simple tic-tac-toe game. [javascript, events]","fork":false,"url":"https://api.github.com/repos/ga-dc/tic_tac_toe","forks_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/forks","keys_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/teams","hooks_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/events","assignees_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/tags","blobs_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/languages","stargazers_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/subscription","commits_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/merges","archive_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/downloads","issues_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/tic_tac_toe/releases{/id}","created_at":"2015-06-17T19:59:03Z","updated_at":"2015-06-27T14:05:53Z","pushed_at":"2015-07-06T14:38:55Z","git_url":"git://github.com/ga-dc/tic_tac_toe.git","ssh_url":"git@github.com:ga-dc/tic_tac_toe.git","clone_url":"https://github.com/ga-dc/tic_tac_toe.git","svn_url":"https://github.com/ga-dc/tic_tac_toe","homepage":"","size":1218,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":39,"forks":53,"open_issues":39,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37"},"html":{"href":"https://github.com/ga-dc/tic_tac_toe/pull/37"},"issue":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/37"},"comments":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/tic_tac_toe/statuses/53f957cfabeecfb62f83f8c24201e05ddd2eca5f"}}}}