{"action":"created","comment":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/77934999","id":77934999,"diff_hunk":"@@ -2,14 +2,60 @@\n //require assert\n var assert = require('assert');\n \n+\n var jobTypes = {\n   pilot: 'MAV',\n   mechanic: 'Repair Ship',\n   commander: 'Main Ship',\n   programmer: 'Any Ship!'\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(shipAssignment) {\n+    this.ship = shipAssignment;\n+    shipAssignment.crew.push(this);\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+\n+  this.missionStatement = function() {\n+  for  (var i = 0; i < this.crew.length; i++) {\n+ var currentJob = this.crew[i].job;\n+  if (jobTypes[currentJob] === this.type) {\n+    return this.ability","path":"apps/06SpaceTravelToMars.js","position":34,"original_position":34,"commit_id":"1381619b5bdf0b5b99c6f7a2f13f52b3ef9f43ed","original_commit_id":"1381619b5bdf0b5b99c6f7a2f13f52b3ef9f43ed","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: [Missing semicolon. (semi)](https://www.codacy.com/app/AustinCodingAcademy/intermediate-workbook/file/3805281052/issues/source?bid=3643438&fileBranchId=3643450#l34)","created_at":"2016-09-08T01:49:52Z","updated_at":"2016-09-08T01:49:52Z","html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67#discussion_r77934999","pull_request_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/comments/77934999"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67#discussion_r77934999"},"pull_request":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67","id":78782566,"html_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67","diff_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67.diff","patch_url":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67.patch","issue_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/67","number":67,"state":"open","locked":false,"title":"austin.intermediate.summer2.sears.charlie","user":{"login":"inlandrecords","id":20634324,"avatar_url":"https://avatars.githubusercontent.com/u/20634324?v=3","gravatar_id":"","url":"https://api.github.com/users/inlandrecords","html_url":"https://github.com/inlandrecords","followers_url":"https://api.github.com/users/inlandrecords/followers","following_url":"https://api.github.com/users/inlandrecords/following{/other_user}","gists_url":"https://api.github.com/users/inlandrecords/gists{/gist_id}","starred_url":"https://api.github.com/users/inlandrecords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inlandrecords/subscriptions","organizations_url":"https://api.github.com/users/inlandrecords/orgs","repos_url":"https://api.github.com/users/inlandrecords/repos","events_url":"https://api.github.com/users/inlandrecords/events{/privacy}","received_events_url":"https://api.github.com/users/inlandrecords/received_events","type":"User","site_admin":false},"body":"I changed the false to true for lesson 0 test","created_at":"2016-07-26T02:26:54Z","updated_at":"2016-09-08T01:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42ce64bcec32dd35852bba4b6db927dae59a2e60","assignee":{"login":"tjefferson08","id":3535390,"avatar_url":"https://avatars.githubusercontent.com/u/3535390?v=3","gravatar_id":"","url":"https://api.github.com/users/tjefferson08","html_url":"https://github.com/tjefferson08","followers_url":"https://api.github.com/users/tjefferson08/followers","following_url":"https://api.github.com/users/tjefferson08/following{/other_user}","gists_url":"https://api.github.com/users/tjefferson08/gists{/gist_id}","starred_url":"https://api.github.com/users/tjefferson08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjefferson08/subscriptions","organizations_url":"https://api.github.com/users/tjefferson08/orgs","repos_url":"https://api.github.com/users/tjefferson08/repos","events_url":"https://api.github.com/users/tjefferson08/events{/privacy}","received_events_url":"https://api.github.com/users/tjefferson08/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":"tjefferson08","id":3535390,"avatar_url":"https://avatars.githubusercontent.com/u/3535390?v=3","gravatar_id":"","url":"https://api.github.com/users/tjefferson08","html_url":"https://github.com/tjefferson08","followers_url":"https://api.github.com/users/tjefferson08/followers","following_url":"https://api.github.com/users/tjefferson08/following{/other_user}","gists_url":"https://api.github.com/users/tjefferson08/gists{/gist_id}","starred_url":"https://api.github.com/users/tjefferson08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjefferson08/subscriptions","organizations_url":"https://api.github.com/users/tjefferson08/orgs","repos_url":"https://api.github.com/users/tjefferson08/repos","events_url":"https://api.github.com/users/tjefferson08/events{/privacy}","received_events_url":"https://api.github.com/users/tjefferson08/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67/commits","review_comments_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67/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/67/comments","statuses_url":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/1381619b5bdf0b5b99c6f7a2f13f52b3ef9f43ed","head":{"label":"inlandrecords:gh-pages","ref":"gh-pages","sha":"1381619b5bdf0b5b99c6f7a2f13f52b3ef9f43ed","user":{"login":"inlandrecords","id":20634324,"avatar_url":"https://avatars.githubusercontent.com/u/20634324?v=3","gravatar_id":"","url":"https://api.github.com/users/inlandrecords","html_url":"https://github.com/inlandrecords","followers_url":"https://api.github.com/users/inlandrecords/followers","following_url":"https://api.github.com/users/inlandrecords/following{/other_user}","gists_url":"https://api.github.com/users/inlandrecords/gists{/gist_id}","starred_url":"https://api.github.com/users/inlandrecords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inlandrecords/subscriptions","organizations_url":"https://api.github.com/users/inlandrecords/orgs","repos_url":"https://api.github.com/users/inlandrecords/repos","events_url":"https://api.github.com/users/inlandrecords/events{/privacy}","received_events_url":"https://api.github.com/users/inlandrecords/received_events","type":"User","site_admin":false},"repo":{"id":64178053,"name":"intermediate-workbook","full_name":"inlandrecords/intermediate-workbook","owner":{"login":"inlandrecords","id":20634324,"avatar_url":"https://avatars.githubusercontent.com/u/20634324?v=3","gravatar_id":"","url":"https://api.github.com/users/inlandrecords","html_url":"https://github.com/inlandrecords","followers_url":"https://api.github.com/users/inlandrecords/followers","following_url":"https://api.github.com/users/inlandrecords/following{/other_user}","gists_url":"https://api.github.com/users/inlandrecords/gists{/gist_id}","starred_url":"https://api.github.com/users/inlandrecords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inlandrecords/subscriptions","organizations_url":"https://api.github.com/users/inlandrecords/orgs","repos_url":"https://api.github.com/users/inlandrecords/repos","events_url":"https://api.github.com/users/inlandrecords/events{/privacy}","received_events_url":"https://api.github.com/users/inlandrecords/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inlandrecords/intermediate-workbook","description":"Austin Coding Academy - Frontend Intermediate Workbook","fork":true,"url":"https://api.github.com/repos/inlandrecords/intermediate-workbook","forks_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/forks","keys_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/teams","hooks_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/hooks","issue_events_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/issues/events{/number}","events_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/events","assignees_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/assignees{/user}","branches_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/branches{/branch}","tags_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/tags","blobs_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/statuses/{sha}","languages_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/languages","stargazers_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/stargazers","contributors_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/contributors","subscribers_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/subscribers","subscription_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/subscription","commits_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/contents/{+path}","compare_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/merges","archive_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/downloads","issues_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/issues{/number}","pulls_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/pulls{/number}","milestones_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/milestones{/number}","notifications_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/labels{/name}","releases_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/releases{/id}","deployments_url":"https://api.github.com/repos/inlandrecords/intermediate-workbook/deployments","created_at":"2016-07-26T00:53:18Z","updated_at":"2016-07-26T00:53:19Z","pushed_at":"2016-09-08T01:48:24Z","git_url":"git://github.com/inlandrecords/intermediate-workbook.git","ssh_url":"git@github.com:inlandrecords/intermediate-workbook.git","clone_url":"https://github.com/inlandrecords/intermediate-workbook.git","svn_url":"https://github.com/inlandrecords/intermediate-workbook","homepage":"http://austincodingacademy.github.io/frontend-intermediate-workbook","size":212,"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-08T01:48:25Z","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/67"},"html":{"href":"https://github.com/AustinCodingAcademy/intermediate-workbook/pull/67"},"issue":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/67"},"comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/pulls/67/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/67/commits"},"statuses":{"href":"https://api.github.com/repos/AustinCodingAcademy/intermediate-workbook/statuses/1381619b5bdf0b5b99c6f7a2f13f52b3ef9f43ed"}}}}
{"actor":{"display_login":"codacy-bot"}}