{"action":"created","comment":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/comments/63213271","id":63213271,"diff_hunk":"@@ -245,10 +269,16 @@ var foodTrucks = [\n     schedule: []\n   }\n ];\n+function filterTrucksByDay(day){\n+  day = day[0].toUpperCase() + day.slice[1].toLowerCase();","path":"trucks.js","position":null,"original_position":62,"commit_id":"5f2bf00fd2853389ef751d65ed0fd87a6f1cd604","original_commit_id":"d999aa2ba811630743e40cb02cf0e6e2124b77b6","user":{"login":"seancava","id":15054240,"avatar_url":"https://avatars.githubusercontent.com/u/15054240?v=3","gravatar_id":"","url":"https://api.github.com/users/seancava","html_url":"https://github.com/seancava","followers_url":"https://api.github.com/users/seancava/followers","following_url":"https://api.github.com/users/seancava/following{/other_user}","gists_url":"https://api.github.com/users/seancava/gists{/gist_id}","starred_url":"https://api.github.com/users/seancava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancava/subscriptions","organizations_url":"https://api.github.com/users/seancava/orgs","repos_url":"https://api.github.com/users/seancava/repos","events_url":"https://api.github.com/users/seancava/events{/privacy}","received_events_url":"https://api.github.com/users/seancava/received_events","type":"User","site_admin":false},"body":"Makes sense. Sometimes it’s hard to tell the difference between the types of brackets you’ve used when reviewing the lecture or homework videos.\n\nThanks!\n\nFrom: jamdon \nSent: Friday, May 13, 2016 2:51 AM\nTo: JSCRIPT300-Spring2016/Module_3 \nCc: seancava ; Author \nSubject: Re: [JSCRIPT300-Spring2016/Module_3] Mod 3 Commit (#16)\n\nIn trucks.js:\n\n> @@ -245,10 +269,16 @@ var foodTrucks = [\n>      schedule: []\n>    }\n>  ];\n> +function filterTrucksByDay(day){\n> +  day = day[0].toUpperCase() + day.slice[1].toLowerCase();\nYou can index into day like an array because it's a string. The slice method you're calling on day, however, is a function, not an array, so this line of code is just going to cause an error.\n\n—\nYou are receiving this because you authored the thread.\nReply to this email directly or view it on GitHub\n","created_at":"2016-05-13T16:37:30Z","updated_at":"2016-05-13T16:37:30Z","html_url":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16#discussion_r63213271","pull_request_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/comments/63213271"},"html":{"href":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16#discussion_r63213271"},"pull_request":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16","id":68741353,"html_url":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16","diff_url":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16.diff","patch_url":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16.patch","issue_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/16","number":16,"state":"open","locked":false,"title":"Mod 3 Commit","user":{"login":"seancava","id":15054240,"avatar_url":"https://avatars.githubusercontent.com/u/15054240?v=3","gravatar_id":"","url":"https://api.github.com/users/seancava","html_url":"https://github.com/seancava","followers_url":"https://api.github.com/users/seancava/followers","following_url":"https://api.github.com/users/seancava/following{/other_user}","gists_url":"https://api.github.com/users/seancava/gists{/gist_id}","starred_url":"https://api.github.com/users/seancava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancava/subscriptions","organizations_url":"https://api.github.com/users/seancava/orgs","repos_url":"https://api.github.com/users/seancava/repos","events_url":"https://api.github.com/users/seancava/events{/privacy}","received_events_url":"https://api.github.com/users/seancava/received_events","type":"User","site_admin":false},"body":"Please review my Module 3 submission.\r\n\r\nThanks, Sean","created_at":"2016-05-03T17:14:37Z","updated_at":"2016-05-13T16:37:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d1f47708d7e146795be554ff3e01bdde53a2e14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16/commits","review_comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16/comments","review_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/16/comments","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/statuses/5f2bf00fd2853389ef751d65ed0fd87a6f1cd604","head":{"label":"seancava:master","ref":"master","sha":"5f2bf00fd2853389ef751d65ed0fd87a6f1cd604","user":{"login":"seancava","id":15054240,"avatar_url":"https://avatars.githubusercontent.com/u/15054240?v=3","gravatar_id":"","url":"https://api.github.com/users/seancava","html_url":"https://github.com/seancava","followers_url":"https://api.github.com/users/seancava/followers","following_url":"https://api.github.com/users/seancava/following{/other_user}","gists_url":"https://api.github.com/users/seancava/gists{/gist_id}","starred_url":"https://api.github.com/users/seancava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancava/subscriptions","organizations_url":"https://api.github.com/users/seancava/orgs","repos_url":"https://api.github.com/users/seancava/repos","events_url":"https://api.github.com/users/seancava/events{/privacy}","received_events_url":"https://api.github.com/users/seancava/received_events","type":"User","site_admin":false},"repo":{"id":57986739,"name":"Module_3","full_name":"seancava/Module_3","owner":{"login":"seancava","id":15054240,"avatar_url":"https://avatars.githubusercontent.com/u/15054240?v=3","gravatar_id":"","url":"https://api.github.com/users/seancava","html_url":"https://github.com/seancava","followers_url":"https://api.github.com/users/seancava/followers","following_url":"https://api.github.com/users/seancava/following{/other_user}","gists_url":"https://api.github.com/users/seancava/gists{/gist_id}","starred_url":"https://api.github.com/users/seancava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancava/subscriptions","organizations_url":"https://api.github.com/users/seancava/orgs","repos_url":"https://api.github.com/users/seancava/repos","events_url":"https://api.github.com/users/seancava/events{/privacy}","received_events_url":"https://api.github.com/users/seancava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seancava/Module_3","description":"","fork":true,"url":"https://api.github.com/repos/seancava/Module_3","forks_url":"https://api.github.com/repos/seancava/Module_3/forks","keys_url":"https://api.github.com/repos/seancava/Module_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seancava/Module_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seancava/Module_3/teams","hooks_url":"https://api.github.com/repos/seancava/Module_3/hooks","issue_events_url":"https://api.github.com/repos/seancava/Module_3/issues/events{/number}","events_url":"https://api.github.com/repos/seancava/Module_3/events","assignees_url":"https://api.github.com/repos/seancava/Module_3/assignees{/user}","branches_url":"https://api.github.com/repos/seancava/Module_3/branches{/branch}","tags_url":"https://api.github.com/repos/seancava/Module_3/tags","blobs_url":"https://api.github.com/repos/seancava/Module_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seancava/Module_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seancava/Module_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/seancava/Module_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seancava/Module_3/statuses/{sha}","languages_url":"https://api.github.com/repos/seancava/Module_3/languages","stargazers_url":"https://api.github.com/repos/seancava/Module_3/stargazers","contributors_url":"https://api.github.com/repos/seancava/Module_3/contributors","subscribers_url":"https://api.github.com/repos/seancava/Module_3/subscribers","subscription_url":"https://api.github.com/repos/seancava/Module_3/subscription","commits_url":"https://api.github.com/repos/seancava/Module_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/seancava/Module_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/seancava/Module_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/seancava/Module_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/seancava/Module_3/contents/{+path}","compare_url":"https://api.github.com/repos/seancava/Module_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seancava/Module_3/merges","archive_url":"https://api.github.com/repos/seancava/Module_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seancava/Module_3/downloads","issues_url":"https://api.github.com/repos/seancava/Module_3/issues{/number}","pulls_url":"https://api.github.com/repos/seancava/Module_3/pulls{/number}","milestones_url":"https://api.github.com/repos/seancava/Module_3/milestones{/number}","notifications_url":"https://api.github.com/repos/seancava/Module_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seancava/Module_3/labels{/name}","releases_url":"https://api.github.com/repos/seancava/Module_3/releases{/id}","deployments_url":"https://api.github.com/repos/seancava/Module_3/deployments","created_at":"2016-05-03T17:09:14Z","updated_at":"2016-05-03T17:09:15Z","pushed_at":"2016-05-13T16:33:03Z","git_url":"git://github.com/seancava/Module_3.git","ssh_url":"git@github.com:seancava/Module_3.git","clone_url":"https://github.com/seancava/Module_3.git","svn_url":"https://github.com/seancava/Module_3","homepage":null,"size":9,"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":"JSCRIPT300-Spring2016:master","ref":"master","sha":"6369600ce4ac0b1f6d9ea602d481da358d8f7489","user":{"login":"JSCRIPT300-Spring2016","id":18176498,"avatar_url":"https://avatars.githubusercontent.com/u/18176498?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2016","html_url":"https://github.com/JSCRIPT300-Spring2016","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2016/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2016/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2016/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2016/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2016/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/received_events","type":"Organization","site_admin":false},"repo":{"id":56464915,"name":"Module_3","full_name":"JSCRIPT300-Spring2016/Module_3","owner":{"login":"JSCRIPT300-Spring2016","id":18176498,"avatar_url":"https://avatars.githubusercontent.com/u/18176498?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2016","html_url":"https://github.com/JSCRIPT300-Spring2016","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2016/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2016/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2016/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2016/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2016/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2016/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JSCRIPT300-Spring2016/Module_3","description":"","fork":false,"url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3","forks_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/forks","keys_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/teams","hooks_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/hooks","issue_events_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/events{/number}","events_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/events","assignees_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/assignees{/user}","branches_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/branches{/branch}","tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/tags","blobs_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/statuses/{sha}","languages_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/languages","stargazers_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/stargazers","contributors_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/contributors","subscribers_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/subscribers","subscription_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/subscription","commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/contents/{+path}","compare_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/merges","archive_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/downloads","issues_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues{/number}","pulls_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls{/number}","milestones_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/milestones{/number}","notifications_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/labels{/name}","releases_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/releases{/id}","deployments_url":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/deployments","created_at":"2016-04-18T00:08:18Z","updated_at":"2016-04-18T14:17:34Z","pushed_at":"2016-05-13T16:33:03Z","git_url":"git://github.com/JSCRIPT300-Spring2016/Module_3.git","ssh_url":"git@github.com:JSCRIPT300-Spring2016/Module_3.git","clone_url":"https://github.com/JSCRIPT300-Spring2016/Module_3.git","svn_url":"https://github.com/JSCRIPT300-Spring2016/Module_3","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":1,"forks":20,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16"},"html":{"href":"https://github.com/JSCRIPT300-Spring2016/Module_3/pull/16"},"issue":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/16"},"comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2016/Module_3/statuses/5f2bf00fd2853389ef751d65ed0fd87a6f1cd604"}}}}