{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/54352208","id":54352208,"diff_hunk":"@@ -0,0 +1,33 @@\n+$(document).ready(function() {\n+\n+  var game = new Game;\n+\n+  currentRoll = $('#score-sheet .current-roll');\n+  $('.current-score').text(game.score());\n+\n+  $('.score').click(function(){\n+    score = $(this).val()\n+    game.roll(parseInt(score));\n+    $('.current-score').text(game.score());\n+    $(currentRoll).text(score);\n+    rollIndex = $(currentRoll).attr('data-roll')-1\n+    console.log(rollIndex)\n+    if (game.isStrike(rollIndex)) {\n+      console.log('yes');\n+      currentRoll = $('.current-roll').next().next('.roll');\n+      currentRoll.prev().prev().removeClass('current-roll');\n+    } else {\n+    console.log('no')\n+    currentRoll = $('.current-roll').next('.roll');","path":"js/interface.js","position":21,"original_position":21,"commit_id":"2c80c2e00723cf340a274a6a8b722f71363b2cde","original_commit_id":"2c80c2e00723cf340a274a6a8b722f71363b2cde","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":"'currentRoll' is not defined.<br>'$' is not defined.","created_at":"2016-02-28T16:19:42Z","updated_at":"2016-02-28T16:19:42Z","html_url":"https://github.com/makersacademy/bowling-challenge/pull/218#discussion_r54352208","pull_request_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments/54352208"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/218#discussion_r54352208"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218","id":60996681,"html_url":"https://github.com/makersacademy/bowling-challenge/pull/218","diff_url":"https://github.com/makersacademy/bowling-challenge/pull/218.diff","patch_url":"https://github.com/makersacademy/bowling-challenge/pull/218.patch","issue_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/218","number":218,"state":"open","locked":false,"title":"Bowling Challenge","user":{"login":"seanhawkridge","id":1470147,"avatar_url":"https://avatars.githubusercontent.com/u/1470147?v=3","gravatar_id":"","url":"https://api.github.com/users/seanhawkridge","html_url":"https://github.com/seanhawkridge","followers_url":"https://api.github.com/users/seanhawkridge/followers","following_url":"https://api.github.com/users/seanhawkridge/following{/other_user}","gists_url":"https://api.github.com/users/seanhawkridge/gists{/gist_id}","starred_url":"https://api.github.com/users/seanhawkridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanhawkridge/subscriptions","organizations_url":"https://api.github.com/users/seanhawkridge/orgs","repos_url":"https://api.github.com/users/seanhawkridge/repos","events_url":"https://api.github.com/users/seanhawkridge/events{/privacy}","received_events_url":"https://api.github.com/users/seanhawkridge/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-28T16:19:34Z","updated_at":"2016-02-28T16:19:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"afa6241cd4c3669764ef4b0635435bdab13a1d23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218/commits","review_comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218/comments","review_comment_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/218/comments","statuses_url":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/2c80c2e00723cf340a274a6a8b722f71363b2cde","head":{"label":"seanhawkridge:master","ref":"master","sha":"2c80c2e00723cf340a274a6a8b722f71363b2cde","user":{"login":"seanhawkridge","id":1470147,"avatar_url":"https://avatars.githubusercontent.com/u/1470147?v=3","gravatar_id":"","url":"https://api.github.com/users/seanhawkridge","html_url":"https://github.com/seanhawkridge","followers_url":"https://api.github.com/users/seanhawkridge/followers","following_url":"https://api.github.com/users/seanhawkridge/following{/other_user}","gists_url":"https://api.github.com/users/seanhawkridge/gists{/gist_id}","starred_url":"https://api.github.com/users/seanhawkridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanhawkridge/subscriptions","organizations_url":"https://api.github.com/users/seanhawkridge/orgs","repos_url":"https://api.github.com/users/seanhawkridge/repos","events_url":"https://api.github.com/users/seanhawkridge/events{/privacy}","received_events_url":"https://api.github.com/users/seanhawkridge/received_events","type":"User","site_admin":false},"repo":{"id":52082779,"name":"bowling-challenge","full_name":"seanhawkridge/bowling-challenge","owner":{"login":"seanhawkridge","id":1470147,"avatar_url":"https://avatars.githubusercontent.com/u/1470147?v=3","gravatar_id":"","url":"https://api.github.com/users/seanhawkridge","html_url":"https://github.com/seanhawkridge","followers_url":"https://api.github.com/users/seanhawkridge/followers","following_url":"https://api.github.com/users/seanhawkridge/following{/other_user}","gists_url":"https://api.github.com/users/seanhawkridge/gists{/gist_id}","starred_url":"https://api.github.com/users/seanhawkridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanhawkridge/subscriptions","organizations_url":"https://api.github.com/users/seanhawkridge/orgs","repos_url":"https://api.github.com/users/seanhawkridge/repos","events_url":"https://api.github.com/users/seanhawkridge/events{/privacy}","received_events_url":"https://api.github.com/users/seanhawkridge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanhawkridge/bowling-challenge","description":"Calculate Scores for Ten Pin Bowling","fork":true,"url":"https://api.github.com/repos/seanhawkridge/bowling-challenge","forks_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/forks","keys_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/teams","hooks_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/hooks","issue_events_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/events","assignees_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/tags","blobs_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/languages","stargazers_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/stargazers","contributors_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/contributors","subscribers_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/subscribers","subscription_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/subscription","commits_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/merges","archive_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/downloads","issues_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/labels{/name}","releases_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/seanhawkridge/bowling-challenge/deployments","created_at":"2016-02-19T11:14:36Z","updated_at":"2016-02-28T16:18:41Z","pushed_at":"2016-02-28T16:18:40Z","git_url":"git://github.com/seanhawkridge/bowling-challenge.git","ssh_url":"git@github.com:seanhawkridge/bowling-challenge.git","clone_url":"https://github.com/seanhawkridge/bowling-challenge.git","svn_url":"https://github.com/seanhawkridge/bowling-challenge","homepage":null,"size":171,"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":"makersacademy:master","ref":"master","sha":"3fe76ca2790d5b1b207b9cc77b4f41e8bcbd7340","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27005859,"name":"bowling-challenge","full_name":"makersacademy/bowling-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/bowling-challenge","description":"Calculate Scores for Ten Pin Bowling","fork":false,"url":"https://api.github.com/repos/makersacademy/bowling-challenge","forks_url":"https://api.github.com/repos/makersacademy/bowling-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/bowling-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/bowling-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/bowling-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/bowling-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/bowling-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/bowling-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/bowling-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/bowling-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/bowling-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/bowling-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/bowling-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/bowling-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/bowling-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/bowling-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/bowling-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/bowling-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/bowling-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/bowling-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/bowling-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/bowling-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/bowling-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/bowling-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/bowling-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/bowling-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/bowling-challenge/deployments","created_at":"2014-11-22T17:07:53Z","updated_at":"2016-01-17T21:19:41Z","pushed_at":"2016-02-28T16:19:34Z","git_url":"git://github.com/makersacademy/bowling-challenge.git","ssh_url":"git@github.com:makersacademy/bowling-challenge.git","clone_url":"https://github.com/makersacademy/bowling-challenge.git","svn_url":"https://github.com/makersacademy/bowling-challenge","homepage":null,"size":61589,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":257,"mirror_url":null,"open_issues_count":42,"forks":257,"open_issues":42,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218"},"html":{"href":"https://github.com/makersacademy/bowling-challenge/pull/218"},"issue":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/218"},"comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/issues/218/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/pulls/218/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/bowling-challenge/statuses/2c80c2e00723cf340a274a6a8b722f71363b2cde"}}}}