{"action":"created","comment":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/comments/29014591","id":29014591,"diff_hunk":"@@ -247,10 +248,14 @@ var foodTrucks = [\n \t\tschedule: []\n \t}\n ];\n+function filterByDay(day) {\n+\tvar filtered = _.filter(foodTrucks, function(data) {\n+\t\tvar toReturn = _.filter(data.schedule, function(date) {","path":"server/trucks.js","position":12,"original_position":12,"commit_id":"6b3af04e4765d0db1857efbf64d0e79e85843fac","original_commit_id":"6b3af04e4765d0db1857efbf64d0e79e85843fac","user":{"login":"jamdon","id":10747092,"avatar_url":"https://avatars.githubusercontent.com/u/10747092?v=3","gravatar_id":"","url":"https://api.github.com/users/jamdon","html_url":"https://github.com/jamdon","followers_url":"https://api.github.com/users/jamdon/followers","following_url":"https://api.github.com/users/jamdon/following{/other_user}","gists_url":"https://api.github.com/users/jamdon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamdon/subscriptions","organizations_url":"https://api.github.com/users/jamdon/orgs","repos_url":"https://api.github.com/users/jamdon/repos","events_url":"https://api.github.com/users/jamdon/events{/privacy}","received_events_url":"https://api.github.com/users/jamdon/received_events","type":"User","site_admin":false},"body":"Took me a moment to think this through (using the nested filter) but sure enough it works.","created_at":"2015-04-23T23:57:44Z","updated_at":"2015-04-23T23:57:44Z","html_url":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3#discussion_r29014591","pull_request_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/comments/29014591"},"html":{"href":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3#discussion_r29014591"},"pull_request":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3","id":33631247,"html_url":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3","diff_url":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3.diff","patch_url":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3.patch","issue_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/3","number":3,"state":"open","locked":false,"title":"initial commit","user":{"login":"thehindenburg","id":5234453,"avatar_url":"https://avatars.githubusercontent.com/u/5234453?v=3","gravatar_id":"","url":"https://api.github.com/users/thehindenburg","html_url":"https://github.com/thehindenburg","followers_url":"https://api.github.com/users/thehindenburg/followers","following_url":"https://api.github.com/users/thehindenburg/following{/other_user}","gists_url":"https://api.github.com/users/thehindenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/thehindenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehindenburg/subscriptions","organizations_url":"https://api.github.com/users/thehindenburg/orgs","repos_url":"https://api.github.com/users/thehindenburg/repos","events_url":"https://api.github.com/users/thehindenburg/events{/privacy}","received_events_url":"https://api.github.com/users/thehindenburg/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-20T02:12:57Z","updated_at":"2015-04-23T23:57:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8f6f3652c12d5565020edb29d2c2b5abf3a7448","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3/commits","review_comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3/comments","review_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/3/comments","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/statuses/6b3af04e4765d0db1857efbf64d0e79e85843fac","head":{"label":"thehindenburg:master","ref":"master","sha":"6b3af04e4765d0db1857efbf64d0e79e85843fac","user":{"login":"thehindenburg","id":5234453,"avatar_url":"https://avatars.githubusercontent.com/u/5234453?v=3","gravatar_id":"","url":"https://api.github.com/users/thehindenburg","html_url":"https://github.com/thehindenburg","followers_url":"https://api.github.com/users/thehindenburg/followers","following_url":"https://api.github.com/users/thehindenburg/following{/other_user}","gists_url":"https://api.github.com/users/thehindenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/thehindenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehindenburg/subscriptions","organizations_url":"https://api.github.com/users/thehindenburg/orgs","repos_url":"https://api.github.com/users/thehindenburg/repos","events_url":"https://api.github.com/users/thehindenburg/events{/privacy}","received_events_url":"https://api.github.com/users/thehindenburg/received_events","type":"User","site_admin":false},"repo":{"id":34229693,"name":"Module_3","full_name":"thehindenburg/Module_3","owner":{"login":"thehindenburg","id":5234453,"avatar_url":"https://avatars.githubusercontent.com/u/5234453?v=3","gravatar_id":"","url":"https://api.github.com/users/thehindenburg","html_url":"https://github.com/thehindenburg","followers_url":"https://api.github.com/users/thehindenburg/followers","following_url":"https://api.github.com/users/thehindenburg/following{/other_user}","gists_url":"https://api.github.com/users/thehindenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/thehindenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehindenburg/subscriptions","organizations_url":"https://api.github.com/users/thehindenburg/orgs","repos_url":"https://api.github.com/users/thehindenburg/repos","events_url":"https://api.github.com/users/thehindenburg/events{/privacy}","received_events_url":"https://api.github.com/users/thehindenburg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thehindenburg/Module_3","description":"","fork":true,"url":"https://api.github.com/repos/thehindenburg/Module_3","forks_url":"https://api.github.com/repos/thehindenburg/Module_3/forks","keys_url":"https://api.github.com/repos/thehindenburg/Module_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thehindenburg/Module_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thehindenburg/Module_3/teams","hooks_url":"https://api.github.com/repos/thehindenburg/Module_3/hooks","issue_events_url":"https://api.github.com/repos/thehindenburg/Module_3/issues/events{/number}","events_url":"https://api.github.com/repos/thehindenburg/Module_3/events","assignees_url":"https://api.github.com/repos/thehindenburg/Module_3/assignees{/user}","branches_url":"https://api.github.com/repos/thehindenburg/Module_3/branches{/branch}","tags_url":"https://api.github.com/repos/thehindenburg/Module_3/tags","blobs_url":"https://api.github.com/repos/thehindenburg/Module_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thehindenburg/Module_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thehindenburg/Module_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/thehindenburg/Module_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thehindenburg/Module_3/statuses/{sha}","languages_url":"https://api.github.com/repos/thehindenburg/Module_3/languages","stargazers_url":"https://api.github.com/repos/thehindenburg/Module_3/stargazers","contributors_url":"https://api.github.com/repos/thehindenburg/Module_3/contributors","subscribers_url":"https://api.github.com/repos/thehindenburg/Module_3/subscribers","subscription_url":"https://api.github.com/repos/thehindenburg/Module_3/subscription","commits_url":"https://api.github.com/repos/thehindenburg/Module_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/thehindenburg/Module_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/thehindenburg/Module_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/thehindenburg/Module_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/thehindenburg/Module_3/contents/{+path}","compare_url":"https://api.github.com/repos/thehindenburg/Module_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thehindenburg/Module_3/merges","archive_url":"https://api.github.com/repos/thehindenburg/Module_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thehindenburg/Module_3/downloads","issues_url":"https://api.github.com/repos/thehindenburg/Module_3/issues{/number}","pulls_url":"https://api.github.com/repos/thehindenburg/Module_3/pulls{/number}","milestones_url":"https://api.github.com/repos/thehindenburg/Module_3/milestones{/number}","notifications_url":"https://api.github.com/repos/thehindenburg/Module_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thehindenburg/Module_3/labels{/name}","releases_url":"https://api.github.com/repos/thehindenburg/Module_3/releases{/id}","created_at":"2015-04-20T00:21:17Z","updated_at":"2015-04-22T02:29:56Z","pushed_at":"2015-04-22T02:29:56Z","git_url":"git://github.com/thehindenburg/Module_3.git","ssh_url":"git@github.com:thehindenburg/Module_3.git","clone_url":"https://github.com/thehindenburg/Module_3.git","svn_url":"https://github.com/thehindenburg/Module_3","homepage":null,"size":102,"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-Spring2015:master","ref":"master","sha":"4f6fbfd01f0ca71ce941413851326a0562283b3f","user":{"login":"JSCRIPT300-Spring2015","id":11728112,"avatar_url":"https://avatars.githubusercontent.com/u/11728112?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2015","html_url":"https://github.com/JSCRIPT300-Spring2015","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2015/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2015/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2015/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2015/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2015/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2015/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/received_events","type":"Organization","site_admin":false},"repo":{"id":33980171,"name":"Module_3","full_name":"JSCRIPT300-Spring2015/Module_3","owner":{"login":"JSCRIPT300-Spring2015","id":11728112,"avatar_url":"https://avatars.githubusercontent.com/u/11728112?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2015","html_url":"https://github.com/JSCRIPT300-Spring2015","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2015/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2015/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2015/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2015/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2015/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2015/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JSCRIPT300-Spring2015/Module_3","description":"","fork":false,"url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3","forks_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/forks","keys_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/teams","hooks_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/hooks","issue_events_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/events{/number}","events_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/events","assignees_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/assignees{/user}","branches_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/branches{/branch}","tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/tags","blobs_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/statuses/{sha}","languages_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/languages","stargazers_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/stargazers","contributors_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/contributors","subscribers_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/subscribers","subscription_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/subscription","commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/contents/{+path}","compare_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/merges","archive_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/downloads","issues_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues{/number}","pulls_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls{/number}","milestones_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/milestones{/number}","notifications_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/labels{/name}","releases_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/releases{/id}","created_at":"2015-04-15T07:43:35Z","updated_at":"2015-04-20T04:20:42Z","pushed_at":"2015-04-23T23:06:08Z","git_url":"git://github.com/JSCRIPT300-Spring2015/Module_3.git","ssh_url":"git@github.com:JSCRIPT300-Spring2015/Module_3.git","clone_url":"https://github.com/JSCRIPT300-Spring2015/Module_3.git","svn_url":"https://github.com/JSCRIPT300-Spring2015/Module_3","homepage":null,"size":925,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":10,"forks":18,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3"},"html":{"href":"https://github.com/JSCRIPT300-Spring2015/Module_3/pull/3"},"issue":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/3"},"comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_3/statuses/6b3af04e4765d0db1857efbf64d0e79e85843fac"}}}}