{"action":"created","comment":{"url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/comments/71576090","id":71576090,"diff_hunk":"@@ -72,21 +72,13 @@ var drinkName = function () {\n \t}\n \n \tthis.getRandoms = function () {\n-\tvar randomAdjective = this.name.adjective[Math.floor(Math.random() * this.name.adjective.length)]\n-\tconsole.log(randomAdjective);\n-\tvar randomNoun = this.name.noun[Math.floor(Math.random() * this.name.noun.length)]\n-\tconsole.log(randomNoun);\n-\t$('.drink-name').html(randomAdjective + \" \" + randomNoun);\n-\t$('.drink-name').show();\n-}\n-\n-\t/*this.getAdjective = function(index) {\n-\t\treturn this.name.adjective[index];\n+\t\tvar randomAdjective = this.name.adjective[Math.floor(Math.random() * this.name.adjective.length)]\n+\t\tconsole.log(randomAdjective);\n+\t\tvar randomNoun = this.name.noun[Math.floor(Math.random() * this.name.noun.length)]\n+\t\tconsole.log(randomNoun);","path":"js/app.js","position":17,"original_position":17,"commit_id":"a5965f29c5e7fc7347fad03f54892498a0dc04da","original_commit_id":"a5965f29c5e7fc7347fad03f54892498a0dc04da","user":{"login":"brettdewoody","id":409070,"avatar_url":"https://avatars.githubusercontent.com/u/409070?v=3","gravatar_id":"","url":"https://api.github.com/users/brettdewoody","html_url":"https://github.com/brettdewoody","followers_url":"https://api.github.com/users/brettdewoody/followers","following_url":"https://api.github.com/users/brettdewoody/following{/other_user}","gists_url":"https://api.github.com/users/brettdewoody/gists{/gist_id}","starred_url":"https://api.github.com/users/brettdewoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettdewoody/subscriptions","organizations_url":"https://api.github.com/users/brettdewoody/orgs","repos_url":"https://api.github.com/users/brettdewoody/repos","events_url":"https://api.github.com/users/brettdewoody/events{/privacy}","received_events_url":"https://api.github.com/users/brettdewoody/received_events","type":"User","site_admin":false},"body":"Let's remove this console.log.","created_at":"2016-07-20T18:04:21Z","updated_at":"2016-07-20T18:04:21Z","html_url":"https://github.com/Ryca77/pirate-bartender/pull/3#discussion_r71576090","pull_request_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/comments/71576090"},"html":{"href":"https://github.com/Ryca77/pirate-bartender/pull/3#discussion_r71576090"},"pull_request":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3","id":78191373,"html_url":"https://github.com/Ryca77/pirate-bartender/pull/3","diff_url":"https://github.com/Ryca77/pirate-bartender/pull/3.diff","patch_url":"https://github.com/Ryca77/pirate-bartender/pull/3.patch","issue_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/3","number":3,"state":"open","locked":false,"title":"js/app.js","user":{"login":"Ryca77","id":18658661,"avatar_url":"https://avatars.githubusercontent.com/u/18658661?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryca77","html_url":"https://github.com/Ryca77","followers_url":"https://api.github.com/users/Ryca77/followers","following_url":"https://api.github.com/users/Ryca77/following{/other_user}","gists_url":"https://api.github.com/users/Ryca77/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryca77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryca77/subscriptions","organizations_url":"https://api.github.com/users/Ryca77/orgs","repos_url":"https://api.github.com/users/Ryca77/repos","events_url":"https://api.github.com/users/Ryca77/events{/privacy}","received_events_url":"https://api.github.com/users/Ryca77/received_events","type":"User","site_admin":false},"body":"Tidied up the code","created_at":"2016-07-20T17:58:32Z","updated_at":"2016-07-20T18:04:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"390cf9443d92d8805452cb8c0abcf98732473705","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/3/comments","statuses_url":"https://api.github.com/repos/Ryca77/pirate-bartender/statuses/a5965f29c5e7fc7347fad03f54892498a0dc04da","head":{"label":"Ryca77:staging","ref":"staging","sha":"a5965f29c5e7fc7347fad03f54892498a0dc04da","user":{"login":"Ryca77","id":18658661,"avatar_url":"https://avatars.githubusercontent.com/u/18658661?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryca77","html_url":"https://github.com/Ryca77","followers_url":"https://api.github.com/users/Ryca77/followers","following_url":"https://api.github.com/users/Ryca77/following{/other_user}","gists_url":"https://api.github.com/users/Ryca77/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryca77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryca77/subscriptions","organizations_url":"https://api.github.com/users/Ryca77/orgs","repos_url":"https://api.github.com/users/Ryca77/repos","events_url":"https://api.github.com/users/Ryca77/events{/privacy}","received_events_url":"https://api.github.com/users/Ryca77/received_events","type":"User","site_admin":false},"repo":{"id":63594607,"name":"pirate-bartender","full_name":"Ryca77/pirate-bartender","owner":{"login":"Ryca77","id":18658661,"avatar_url":"https://avatars.githubusercontent.com/u/18658661?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryca77","html_url":"https://github.com/Ryca77","followers_url":"https://api.github.com/users/Ryca77/followers","following_url":"https://api.github.com/users/Ryca77/following{/other_user}","gists_url":"https://api.github.com/users/Ryca77/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryca77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryca77/subscriptions","organizations_url":"https://api.github.com/users/Ryca77/orgs","repos_url":"https://api.github.com/users/Ryca77/repos","events_url":"https://api.github.com/users/Ryca77/events{/privacy}","received_events_url":"https://api.github.com/users/Ryca77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ryca77/pirate-bartender","description":null,"fork":false,"url":"https://api.github.com/repos/Ryca77/pirate-bartender","forks_url":"https://api.github.com/repos/Ryca77/pirate-bartender/forks","keys_url":"https://api.github.com/repos/Ryca77/pirate-bartender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ryca77/pirate-bartender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ryca77/pirate-bartender/teams","hooks_url":"https://api.github.com/repos/Ryca77/pirate-bartender/hooks","issue_events_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/events{/number}","events_url":"https://api.github.com/repos/Ryca77/pirate-bartender/events","assignees_url":"https://api.github.com/repos/Ryca77/pirate-bartender/assignees{/user}","branches_url":"https://api.github.com/repos/Ryca77/pirate-bartender/branches{/branch}","tags_url":"https://api.github.com/repos/Ryca77/pirate-bartender/tags","blobs_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ryca77/pirate-bartender/statuses/{sha}","languages_url":"https://api.github.com/repos/Ryca77/pirate-bartender/languages","stargazers_url":"https://api.github.com/repos/Ryca77/pirate-bartender/stargazers","contributors_url":"https://api.github.com/repos/Ryca77/pirate-bartender/contributors","subscribers_url":"https://api.github.com/repos/Ryca77/pirate-bartender/subscribers","subscription_url":"https://api.github.com/repos/Ryca77/pirate-bartender/subscription","commits_url":"https://api.github.com/repos/Ryca77/pirate-bartender/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ryca77/pirate-bartender/contents/{+path}","compare_url":"https://api.github.com/repos/Ryca77/pirate-bartender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ryca77/pirate-bartender/merges","archive_url":"https://api.github.com/repos/Ryca77/pirate-bartender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ryca77/pirate-bartender/downloads","issues_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues{/number}","pulls_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls{/number}","milestones_url":"https://api.github.com/repos/Ryca77/pirate-bartender/milestones{/number}","notifications_url":"https://api.github.com/repos/Ryca77/pirate-bartender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ryca77/pirate-bartender/labels{/name}","releases_url":"https://api.github.com/repos/Ryca77/pirate-bartender/releases{/id}","deployments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/deployments","created_at":"2016-07-18T10:46:27Z","updated_at":"2016-07-20T11:11:14Z","pushed_at":"2016-07-20T17:58:32Z","git_url":"git://github.com/Ryca77/pirate-bartender.git","ssh_url":"git@github.com:Ryca77/pirate-bartender.git","clone_url":"https://github.com/Ryca77/pirate-bartender.git","svn_url":"https://github.com/Ryca77/pirate-bartender","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Ryca77:master","ref":"master","sha":"21f198c0dee5b7ae16301b41bc764843536c7cf7","user":{"login":"Ryca77","id":18658661,"avatar_url":"https://avatars.githubusercontent.com/u/18658661?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryca77","html_url":"https://github.com/Ryca77","followers_url":"https://api.github.com/users/Ryca77/followers","following_url":"https://api.github.com/users/Ryca77/following{/other_user}","gists_url":"https://api.github.com/users/Ryca77/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryca77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryca77/subscriptions","organizations_url":"https://api.github.com/users/Ryca77/orgs","repos_url":"https://api.github.com/users/Ryca77/repos","events_url":"https://api.github.com/users/Ryca77/events{/privacy}","received_events_url":"https://api.github.com/users/Ryca77/received_events","type":"User","site_admin":false},"repo":{"id":63594607,"name":"pirate-bartender","full_name":"Ryca77/pirate-bartender","owner":{"login":"Ryca77","id":18658661,"avatar_url":"https://avatars.githubusercontent.com/u/18658661?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryca77","html_url":"https://github.com/Ryca77","followers_url":"https://api.github.com/users/Ryca77/followers","following_url":"https://api.github.com/users/Ryca77/following{/other_user}","gists_url":"https://api.github.com/users/Ryca77/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryca77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryca77/subscriptions","organizations_url":"https://api.github.com/users/Ryca77/orgs","repos_url":"https://api.github.com/users/Ryca77/repos","events_url":"https://api.github.com/users/Ryca77/events{/privacy}","received_events_url":"https://api.github.com/users/Ryca77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ryca77/pirate-bartender","description":null,"fork":false,"url":"https://api.github.com/repos/Ryca77/pirate-bartender","forks_url":"https://api.github.com/repos/Ryca77/pirate-bartender/forks","keys_url":"https://api.github.com/repos/Ryca77/pirate-bartender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ryca77/pirate-bartender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ryca77/pirate-bartender/teams","hooks_url":"https://api.github.com/repos/Ryca77/pirate-bartender/hooks","issue_events_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/events{/number}","events_url":"https://api.github.com/repos/Ryca77/pirate-bartender/events","assignees_url":"https://api.github.com/repos/Ryca77/pirate-bartender/assignees{/user}","branches_url":"https://api.github.com/repos/Ryca77/pirate-bartender/branches{/branch}","tags_url":"https://api.github.com/repos/Ryca77/pirate-bartender/tags","blobs_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ryca77/pirate-bartender/statuses/{sha}","languages_url":"https://api.github.com/repos/Ryca77/pirate-bartender/languages","stargazers_url":"https://api.github.com/repos/Ryca77/pirate-bartender/stargazers","contributors_url":"https://api.github.com/repos/Ryca77/pirate-bartender/contributors","subscribers_url":"https://api.github.com/repos/Ryca77/pirate-bartender/subscribers","subscription_url":"https://api.github.com/repos/Ryca77/pirate-bartender/subscription","commits_url":"https://api.github.com/repos/Ryca77/pirate-bartender/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ryca77/pirate-bartender/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ryca77/pirate-bartender/contents/{+path}","compare_url":"https://api.github.com/repos/Ryca77/pirate-bartender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ryca77/pirate-bartender/merges","archive_url":"https://api.github.com/repos/Ryca77/pirate-bartender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ryca77/pirate-bartender/downloads","issues_url":"https://api.github.com/repos/Ryca77/pirate-bartender/issues{/number}","pulls_url":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls{/number}","milestones_url":"https://api.github.com/repos/Ryca77/pirate-bartender/milestones{/number}","notifications_url":"https://api.github.com/repos/Ryca77/pirate-bartender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ryca77/pirate-bartender/labels{/name}","releases_url":"https://api.github.com/repos/Ryca77/pirate-bartender/releases{/id}","deployments_url":"https://api.github.com/repos/Ryca77/pirate-bartender/deployments","created_at":"2016-07-18T10:46:27Z","updated_at":"2016-07-20T11:11:14Z","pushed_at":"2016-07-20T17:58:32Z","git_url":"git://github.com/Ryca77/pirate-bartender.git","ssh_url":"git@github.com:Ryca77/pirate-bartender.git","clone_url":"https://github.com/Ryca77/pirate-bartender.git","svn_url":"https://github.com/Ryca77/pirate-bartender","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/Ryca77/pirate-bartender/pulls/3"},"html":{"href":"https://github.com/Ryca77/pirate-bartender/pull/3"},"issue":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/3"},"comments":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Ryca77/pirate-bartender/statuses/a5965f29c5e7fc7347fad03f54892498a0dc04da"}}}}
{"actor":{"display_login":"brettdewoody"}}