{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/comments/55221665","id":55221665,"diff_hunk":"@@ -91,7 +122,11 @@ Define a function called `doSomething`. It should take one argument, called\n \n Your Answer:\n ```js\n-// write code here\n+function doSomething(thingToDo) {\n+  console.log(thingToDo + \" is done.\")\n+};\n+","path":"README.md","position":96,"original_position":96,"commit_id":"8c54ce9c66e968a4c7b49ee39fe095a12183728f","original_commit_id":"8c54ce9c66e968a4c7b49ee39fe095a12183728f","user":{"login":"beckybeauchamp1","id":10798030,"avatar_url":"https://avatars.githubusercontent.com/u/10798030?v=3","gravatar_id":"","url":"https://api.github.com/users/beckybeauchamp1","html_url":"https://github.com/beckybeauchamp1","followers_url":"https://api.github.com/users/beckybeauchamp1/followers","following_url":"https://api.github.com/users/beckybeauchamp1/following{/other_user}","gists_url":"https://api.github.com/users/beckybeauchamp1/gists{/gist_id}","starred_url":"https://api.github.com/users/beckybeauchamp1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beckybeauchamp1/subscriptions","organizations_url":"https://api.github.com/users/beckybeauchamp1/orgs","repos_url":"https://api.github.com/users/beckybeauchamp1/repos","events_url":"https://api.github.com/users/beckybeauchamp1/events{/privacy}","received_events_url":"https://api.github.com/users/beckybeauchamp1/received_events","type":"User","site_admin":false},"body":"not quite...the way you have this function set it up, it requires one argument `\"thingToDo\"`. When calling `doSomething(); `below we would need to pass in one argument as well.\r\n\r\nHere is the solution for this question:\r\n```\r\nfunction doSomething(thingToDo){\r\n  thingToDo();\r\n}\r\ndoSomething(function(){\r\n  alert(\"Yay!\");\r\n});\r\n```","created_at":"2016-03-07T15:46:54Z","updated_at":"2016-03-07T15:46:54Z","html_url":"https://github.com/ga-wdi-quizzes/week-04/pull/21#discussion_r55221665","pull_request_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/comments/55221665"},"html":{"href":"https://github.com/ga-wdi-quizzes/week-04/pull/21#discussion_r55221665"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21","id":61864364,"html_url":"https://github.com/ga-wdi-quizzes/week-04/pull/21","diff_url":"https://github.com/ga-wdi-quizzes/week-04/pull/21.diff","patch_url":"https://github.com/ga-wdi-quizzes/week-04/pull/21.patch","issue_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/21","number":21,"state":"open","locked":false,"title":"charleshwang_solution","user":{"login":"charlesthwang","id":17012450,"avatar_url":"https://avatars.githubusercontent.com/u/17012450?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesthwang","html_url":"https://github.com/charlesthwang","followers_url":"https://api.github.com/users/charlesthwang/followers","following_url":"https://api.github.com/users/charlesthwang/following{/other_user}","gists_url":"https://api.github.com/users/charlesthwang/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesthwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesthwang/subscriptions","organizations_url":"https://api.github.com/users/charlesthwang/orgs","repos_url":"https://api.github.com/users/charlesthwang/repos","events_url":"https://api.github.com/users/charlesthwang/events{/privacy}","received_events_url":"https://api.github.com/users/charlesthwang/received_events","type":"User","site_admin":false},"body":"comfort: 4/5\r\n\r\ncompleteness: 5/5","created_at":"2016-03-07T01:54:56Z","updated_at":"2016-03-07T15:46:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"127a10f4161196392ed5bed696b50063ae8eab85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/21/comments","statuses_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/statuses/8c54ce9c66e968a4c7b49ee39fe095a12183728f","head":{"label":"charlesthwang:charleshwang_solution","ref":"charleshwang_solution","sha":"8c54ce9c66e968a4c7b49ee39fe095a12183728f","user":{"login":"charlesthwang","id":17012450,"avatar_url":"https://avatars.githubusercontent.com/u/17012450?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesthwang","html_url":"https://github.com/charlesthwang","followers_url":"https://api.github.com/users/charlesthwang/followers","following_url":"https://api.github.com/users/charlesthwang/following{/other_user}","gists_url":"https://api.github.com/users/charlesthwang/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesthwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesthwang/subscriptions","organizations_url":"https://api.github.com/users/charlesthwang/orgs","repos_url":"https://api.github.com/users/charlesthwang/repos","events_url":"https://api.github.com/users/charlesthwang/events{/privacy}","received_events_url":"https://api.github.com/users/charlesthwang/received_events","type":"User","site_admin":false},"repo":{"id":53106800,"name":"week-04","full_name":"charlesthwang/week-04","owner":{"login":"charlesthwang","id":17012450,"avatar_url":"https://avatars.githubusercontent.com/u/17012450?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesthwang","html_url":"https://github.com/charlesthwang","followers_url":"https://api.github.com/users/charlesthwang/followers","following_url":"https://api.github.com/users/charlesthwang/following{/other_user}","gists_url":"https://api.github.com/users/charlesthwang/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesthwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesthwang/subscriptions","organizations_url":"https://api.github.com/users/charlesthwang/orgs","repos_url":"https://api.github.com/users/charlesthwang/repos","events_url":"https://api.github.com/users/charlesthwang/events{/privacy}","received_events_url":"https://api.github.com/users/charlesthwang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charlesthwang/week-04","description":"[javascript, js, jquery, oojs]","fork":true,"url":"https://api.github.com/repos/charlesthwang/week-04","forks_url":"https://api.github.com/repos/charlesthwang/week-04/forks","keys_url":"https://api.github.com/repos/charlesthwang/week-04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charlesthwang/week-04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charlesthwang/week-04/teams","hooks_url":"https://api.github.com/repos/charlesthwang/week-04/hooks","issue_events_url":"https://api.github.com/repos/charlesthwang/week-04/issues/events{/number}","events_url":"https://api.github.com/repos/charlesthwang/week-04/events","assignees_url":"https://api.github.com/repos/charlesthwang/week-04/assignees{/user}","branches_url":"https://api.github.com/repos/charlesthwang/week-04/branches{/branch}","tags_url":"https://api.github.com/repos/charlesthwang/week-04/tags","blobs_url":"https://api.github.com/repos/charlesthwang/week-04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charlesthwang/week-04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charlesthwang/week-04/git/refs{/sha}","trees_url":"https://api.github.com/repos/charlesthwang/week-04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charlesthwang/week-04/statuses/{sha}","languages_url":"https://api.github.com/repos/charlesthwang/week-04/languages","stargazers_url":"https://api.github.com/repos/charlesthwang/week-04/stargazers","contributors_url":"https://api.github.com/repos/charlesthwang/week-04/contributors","subscribers_url":"https://api.github.com/repos/charlesthwang/week-04/subscribers","subscription_url":"https://api.github.com/repos/charlesthwang/week-04/subscription","commits_url":"https://api.github.com/repos/charlesthwang/week-04/commits{/sha}","git_commits_url":"https://api.github.com/repos/charlesthwang/week-04/git/commits{/sha}","comments_url":"https://api.github.com/repos/charlesthwang/week-04/comments{/number}","issue_comment_url":"https://api.github.com/repos/charlesthwang/week-04/issues/comments{/number}","contents_url":"https://api.github.com/repos/charlesthwang/week-04/contents/{+path}","compare_url":"https://api.github.com/repos/charlesthwang/week-04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charlesthwang/week-04/merges","archive_url":"https://api.github.com/repos/charlesthwang/week-04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charlesthwang/week-04/downloads","issues_url":"https://api.github.com/repos/charlesthwang/week-04/issues{/number}","pulls_url":"https://api.github.com/repos/charlesthwang/week-04/pulls{/number}","milestones_url":"https://api.github.com/repos/charlesthwang/week-04/milestones{/number}","notifications_url":"https://api.github.com/repos/charlesthwang/week-04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charlesthwang/week-04/labels{/name}","releases_url":"https://api.github.com/repos/charlesthwang/week-04/releases{/id}","deployments_url":"https://api.github.com/repos/charlesthwang/week-04/deployments","created_at":"2016-03-04T04:14:20Z","updated_at":"2016-02-02T19:09:13Z","pushed_at":"2016-03-07T01:54:02Z","git_url":"git://github.com/charlesthwang/week-04.git","ssh_url":"git@github.com:charlesthwang/week-04.git","clone_url":"https://github.com/charlesthwang/week-04.git","svn_url":"https://github.com/charlesthwang/week-04","homepage":"","size":4,"stargazers_count":0,"watchers_count":0,"language":null,"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-wdi-quizzes:master","ref":"master","sha":"f6539c6896a5c458f233cfb6adc3dce9e35f1ec2","user":{"login":"ga-wdi-quizzes","id":17028361,"avatar_url":"https://avatars.githubusercontent.com/u/17028361?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-quizzes","html_url":"https://github.com/ga-wdi-quizzes","followers_url":"https://api.github.com/users/ga-wdi-quizzes/followers","following_url":"https://api.github.com/users/ga-wdi-quizzes/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-quizzes/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-quizzes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-quizzes/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-quizzes/orgs","repos_url":"https://api.github.com/users/ga-wdi-quizzes/repos","events_url":"https://api.github.com/users/ga-wdi-quizzes/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-quizzes/received_events","type":"Organization","site_admin":false},"repo":{"id":50944288,"name":"week-04","full_name":"ga-wdi-quizzes/week-04","owner":{"login":"ga-wdi-quizzes","id":17028361,"avatar_url":"https://avatars.githubusercontent.com/u/17028361?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-quizzes","html_url":"https://github.com/ga-wdi-quizzes","followers_url":"https://api.github.com/users/ga-wdi-quizzes/followers","following_url":"https://api.github.com/users/ga-wdi-quizzes/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-quizzes/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-quizzes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-quizzes/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-quizzes/orgs","repos_url":"https://api.github.com/users/ga-wdi-quizzes/repos","events_url":"https://api.github.com/users/ga-wdi-quizzes/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-quizzes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-quizzes/week-04","description":"[javascript, js, jquery, oojs]","fork":false,"url":"https://api.github.com/repos/ga-wdi-quizzes/week-04","forks_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/forks","keys_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/teams","hooks_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/events","assignees_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/tags","blobs_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/subscription","commits_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/merges","archive_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/downloads","issues_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-quizzes/week-04/deployments","created_at":"2016-02-02T19:02:52Z","updated_at":"2016-02-02T19:09:13Z","pushed_at":"2016-03-07T14:00:57Z","git_url":"git://github.com/ga-wdi-quizzes/week-04.git","ssh_url":"git@github.com:ga-wdi-quizzes/week-04.git","clone_url":"https://github.com/ga-wdi-quizzes/week-04.git","svn_url":"https://github.com/ga-wdi-quizzes/week-04","homepage":"","size":33,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":36,"forks":38,"open_issues":36,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21"},"html":{"href":"https://github.com/ga-wdi-quizzes/week-04/pull/21"},"issue":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/21"},"comments":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-quizzes/week-04/statuses/8c54ce9c66e968a4c7b49ee39fe095a12183728f"}}}}