{"action":"created","comment":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/77766095","id":77766095,"diff_hunk":"@@ -10,6 +10,58 @@ var jobTypes = {\n };\n \n // Your code here\n+function CrewMember (name, job, specialSkill) {\n+  this.name = name;\n+  this.job = job;\n+  this.specialSkill = specialSkill;\n+  this.ship = null;\n+  this.enterShip = function (Ship) {\n+    (Ship).crew.push(this);\n+    this.ship = Ship;\n+  }\n+}\n+\n+function Ship(name, type, ability) {\n+  this.name = name;\n+  this.type = type;\n+  this.ability = ability;\n+  this.crew = [];\n+  this.missionStatement = function() {\n+    var correctJob = [];\n+    if (jobTypes.pilot === this.type) {\n+      correctJob.push('pilot');\n+    }\n+    else if (jobTypes.mechanic === this.type) {\n+      correctJob.push('mechanic');\n+    }\n+    else if (jobTypes.commander === this.type) {\n+      correctJob.push('commander');\n+    }\n+    else if (jobTypes.programmer === this.type) {","path":"apps/06SpaceTravelToMars.js","position":31,"original_position":31,"commit_id":"97f0060f9da2ba9551218021c65603e8e91bed55","original_commit_id":"97f0060f9da2ba9551218021c65603e8e91bed55","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/3785118270/issues/source?bid=3643438&fileBranchId=3643454#l40)","created_at":"2016-09-07T06:29:03Z","updated_at":"2016-09-07T06:29:03Z","html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63#discussion_r77766095","pull_request_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/77766095"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63#discussion_r77766095"},"pull_request":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63","id":78781059,"html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63","diff_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63.diff","patch_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63.patch","issue_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/63","number":63,"state":"open","locked":false,"title":"austin.intermediate.summer2.mccalmont.dave","user":{"login":"DMcCal79","id":18731709,"avatar_url":"https://avatars.githubusercontent.com/u/18731709?v=3","gravatar_id":"","url":"https://api.github.com/users/DMcCal79","html_url":"https://github.com/DMcCal79","followers_url":"https://api.github.com/users/DMcCal79/followers","following_url":"https://api.github.com/users/DMcCal79/following{/other_user}","gists_url":"https://api.github.com/users/DMcCal79/gists{/gist_id}","starred_url":"https://api.github.com/users/DMcCal79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMcCal79/subscriptions","organizations_url":"https://api.github.com/users/DMcCal79/orgs","repos_url":"https://api.github.com/users/DMcCal79/repos","events_url":"https://api.github.com/users/DMcCal79/events{/privacy}","received_events_url":"https://api.github.com/users/DMcCal79/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-26T02:04:24Z","updated_at":"2016-09-07T06:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af458afe67cadb191e04586a2e8bc603f1fd187b","assignee":{"login":"maddiesolz","id":2287075,"avatar_url":"https://avatars.githubusercontent.com/u/2287075?v=3","gravatar_id":"","url":"https://api.github.com/users/maddiesolz","html_url":"https://github.com/maddiesolz","followers_url":"https://api.github.com/users/maddiesolz/followers","following_url":"https://api.github.com/users/maddiesolz/following{/other_user}","gists_url":"https://api.github.com/users/maddiesolz/gists{/gist_id}","starred_url":"https://api.github.com/users/maddiesolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddiesolz/subscriptions","organizations_url":"https://api.github.com/users/maddiesolz/orgs","repos_url":"https://api.github.com/users/maddiesolz/repos","events_url":"https://api.github.com/users/maddiesolz/events{/privacy}","received_events_url":"https://api.github.com/users/maddiesolz/received_events","type":"User","site_admin":false},"assignees":[{"login":"maddiesolz","id":2287075,"avatar_url":"https://avatars.githubusercontent.com/u/2287075?v=3","gravatar_id":"","url":"https://api.github.com/users/maddiesolz","html_url":"https://github.com/maddiesolz","followers_url":"https://api.github.com/users/maddiesolz/followers","following_url":"https://api.github.com/users/maddiesolz/following{/other_user}","gists_url":"https://api.github.com/users/maddiesolz/gists{/gist_id}","starred_url":"https://api.github.com/users/maddiesolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maddiesolz/subscriptions","organizations_url":"https://api.github.com/users/maddiesolz/orgs","repos_url":"https://api.github.com/users/maddiesolz/repos","events_url":"https://api.github.com/users/maddiesolz/events{/privacy}","received_events_url":"https://api.github.com/users/maddiesolz/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63/commits","review_comments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63/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/63/comments","statuses_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/97f0060f9da2ba9551218021c65603e8e91bed55","head":{"label":"DMcCal79:gh-pages","ref":"gh-pages","sha":"97f0060f9da2ba9551218021c65603e8e91bed55","user":{"login":"DMcCal79","id":18731709,"avatar_url":"https://avatars.githubusercontent.com/u/18731709?v=3","gravatar_id":"","url":"https://api.github.com/users/DMcCal79","html_url":"https://github.com/DMcCal79","followers_url":"https://api.github.com/users/DMcCal79/followers","following_url":"https://api.github.com/users/DMcCal79/following{/other_user}","gists_url":"https://api.github.com/users/DMcCal79/gists{/gist_id}","starred_url":"https://api.github.com/users/DMcCal79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMcCal79/subscriptions","organizations_url":"https://api.github.com/users/DMcCal79/orgs","repos_url":"https://api.github.com/users/DMcCal79/repos","events_url":"https://api.github.com/users/DMcCal79/events{/privacy}","received_events_url":"https://api.github.com/users/DMcCal79/received_events","type":"User","site_admin":false},"repo":{"id":64178214,"name":"intermediate-workbook","full_name":"DMcCal79/intermediate-workbook","owner":{"login":"DMcCal79","id":18731709,"avatar_url":"https://avatars.githubusercontent.com/u/18731709?v=3","gravatar_id":"","url":"https://api.github.com/users/DMcCal79","html_url":"https://github.com/DMcCal79","followers_url":"https://api.github.com/users/DMcCal79/followers","following_url":"https://api.github.com/users/DMcCal79/following{/other_user}","gists_url":"https://api.github.com/users/DMcCal79/gists{/gist_id}","starred_url":"https://api.github.com/users/DMcCal79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMcCal79/subscriptions","organizations_url":"https://api.github.com/users/DMcCal79/orgs","repos_url":"https://api.github.com/users/DMcCal79/repos","events_url":"https://api.github.com/users/DMcCal79/events{/privacy}","received_events_url":"https://api.github.com/users/DMcCal79/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DMcCal79/intermediate-workbook","description":"Austin Coding Academy - Frontend Intermediate Workbook","fork":true,"url":"https://api.github.com/repos/DMcCal79/intermediate-workbook","forks_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/forks","keys_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/teams","hooks_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/hooks","issue_events_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/issues/events{/number}","events_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/events","assignees_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/assignees{/user}","branches_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/branches{/branch}","tags_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/tags","blobs_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/statuses/{sha}","languages_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/languages","stargazers_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/stargazers","contributors_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/contributors","subscribers_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/subscribers","subscription_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/subscription","commits_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/contents/{+path}","compare_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/merges","archive_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/downloads","issues_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/issues{/number}","pulls_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/pulls{/number}","milestones_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/milestones{/number}","notifications_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/labels{/name}","releases_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/releases{/id}","deployments_url":"https://api.github.com/repos/DMcCal79/intermediate-workbook/deployments","created_at":"2016-07-26T00:57:08Z","updated_at":"2016-07-26T00:57:09Z","pushed_at":"2016-09-07T06:27:19Z","git_url":"git://github.com/DMcCal79/intermediate-workbook.git","ssh_url":"git@github.com:DMcCal79/intermediate-workbook.git","clone_url":"https://github.com/DMcCal79/intermediate-workbook.git","svn_url":"https://github.com/DMcCal79/intermediate-workbook","homepage":"http://austincodingacademy.github.io/frontend-intermediate-workbook","size":205,"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":"e02114ac572708d4059ed56d2d3c73aff82cda33","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-07T06:27:19Z","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":19459,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":59,"mirror_url":null,"open_issues_count":26,"forks":59,"open_issues":26,"watchers":4,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/63"},"issue":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/63"},"comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/63/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/63/commits"},"statuses":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/97f0060f9da2ba9551218021c65603e8e91bed55"}}}}
{"actor":{"display_login":"codacy-bot"}}