{"action":"created","comment":{"url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/comments/172940622","pull_request_review_id":102045106,"id":172940622,"diff_hunk":"@@ -9,7 +9,40 @@ import foods from '../foods';\n export class FoodListComponent implements OnInit {\n \n   constructor() { }\n+  show = false;\n+  foods: Array<Object> = comidas;\n+  newfood: Object = {};\n+  todayFoods = [];\n+  totalCalories:number=0;\n \n+\n+  addFood() {\n+    this.show = true;\n+   \n+  }\n+\n+  addFoodtotheList(){\n+    this.foods.unshift(this.newfood);\n+    this.show=false;\n+    this.newfood={};\n+  }\n+\n+  addTodayFood (f){","path":"starter-code/src/app/food-list/food-list.component.ts","position":29,"original_position":29,"commit_id":"7a61c925558ba22b0a075fdaeb5ea6f5076abf0f","original_commit_id":"7a61c925558ba22b0a075fdaeb5ea6f5076abf0f","user":{"login":"ta-web-mex","id":35221964,"avatar_url":"https://avatars1.githubusercontent.com/u/35221964?v=4","gravatar_id":"","url":"https://api.github.com/users/ta-web-mex","html_url":"https://github.com/ta-web-mex","followers_url":"https://api.github.com/users/ta-web-mex/followers","following_url":"https://api.github.com/users/ta-web-mex/following{/other_user}","gists_url":"https://api.github.com/users/ta-web-mex/gists{/gist_id}","starred_url":"https://api.github.com/users/ta-web-mex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta-web-mex/subscriptions","organizations_url":"https://api.github.com/users/ta-web-mex/orgs","repos_url":"https://api.github.com/users/ta-web-mex/repos","events_url":"https://api.github.com/users/ta-web-mex/events{/privacy}","received_events_url":"https://api.github.com/users/ta-web-mex/received_events","type":"User","site_admin":false},"body":"jajjaa no encontraste otro nombre para el parametro de la funcion no? ","created_at":"2018-03-07T18:32:21Z","updated_at":"2018-03-07T18:32:52Z","html_url":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231#discussion_r172940622","pull_request_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/comments/172940622"},"html":{"href":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231#discussion_r172940622"},"pull_request":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231"}}},"pull_request":{"url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231","id":173315590,"html_url":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231","diff_url":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231.diff","patch_url":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231.patch","issue_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/231","number":231,"state":"open","locked":false,"title":"MEX- DD- Davinia- Foods","user":{"login":"AlexandradelLago","id":34458526,"avatar_url":"https://avatars2.githubusercontent.com/u/34458526?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexandradelLago","html_url":"https://github.com/AlexandradelLago","followers_url":"https://api.github.com/users/AlexandradelLago/followers","following_url":"https://api.github.com/users/AlexandradelLago/following{/other_user}","gists_url":"https://api.github.com/users/AlexandradelLago/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandradelLago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandradelLago/subscriptions","organizations_url":"https://api.github.com/users/AlexandradelLago/orgs","repos_url":"https://api.github.com/users/AlexandradelLago/repos","events_url":"https://api.github.com/users/AlexandradelLago/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandradelLago/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-06T23:50:41Z","updated_at":"2018-03-07T18:32:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88fc1ed65e4211bd2d8645ade18d578dabebd872","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231/commits","review_comments_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231/comments","review_comment_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/231/comments","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/statuses/7a61c925558ba22b0a075fdaeb5ea6f5076abf0f","head":{"label":"AlexandradelLago:master","ref":"master","sha":"7a61c925558ba22b0a075fdaeb5ea6f5076abf0f","user":{"login":"AlexandradelLago","id":34458526,"avatar_url":"https://avatars2.githubusercontent.com/u/34458526?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexandradelLago","html_url":"https://github.com/AlexandradelLago","followers_url":"https://api.github.com/users/AlexandradelLago/followers","following_url":"https://api.github.com/users/AlexandradelLago/following{/other_user}","gists_url":"https://api.github.com/users/AlexandradelLago/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandradelLago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandradelLago/subscriptions","organizations_url":"https://api.github.com/users/AlexandradelLago/orgs","repos_url":"https://api.github.com/users/AlexandradelLago/repos","events_url":"https://api.github.com/users/AlexandradelLago/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandradelLago/received_events","type":"User","site_admin":false},"repo":{"id":124121441,"name":"lab-angular-data-binding","full_name":"AlexandradelLago/lab-angular-data-binding","owner":{"login":"AlexandradelLago","id":34458526,"avatar_url":"https://avatars2.githubusercontent.com/u/34458526?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexandradelLago","html_url":"https://github.com/AlexandradelLago","followers_url":"https://api.github.com/users/AlexandradelLago/followers","following_url":"https://api.github.com/users/AlexandradelLago/following{/other_user}","gists_url":"https://api.github.com/users/AlexandradelLago/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandradelLago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandradelLago/subscriptions","organizations_url":"https://api.github.com/users/AlexandradelLago/orgs","repos_url":"https://api.github.com/users/AlexandradelLago/repos","events_url":"https://api.github.com/users/AlexandradelLago/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandradelLago/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexandradelLago/lab-angular-data-binding","description":null,"fork":true,"url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding","forks_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/forks","keys_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/teams","hooks_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/hooks","issue_events_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/issues/events{/number}","events_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/events","assignees_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/assignees{/user}","branches_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/branches{/branch}","tags_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/tags","blobs_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/languages","stargazers_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/stargazers","contributors_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/contributors","subscribers_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/subscribers","subscription_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/subscription","commits_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/contents/{+path}","compare_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/merges","archive_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/downloads","issues_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/issues{/number}","pulls_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/labels{/name}","releases_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/releases{/id}","deployments_url":"https://api.github.com/repos/AlexandradelLago/lab-angular-data-binding/deployments","created_at":"2018-03-06T18:30:56Z","updated_at":"2018-03-06T18:30:58Z","pushed_at":"2018-03-07T01:58:13Z","git_url":"git://github.com/AlexandradelLago/lab-angular-data-binding.git","ssh_url":"git@github.com:AlexandradelLago/lab-angular-data-binding.git","clone_url":"https://github.com/AlexandradelLago/lab-angular-data-binding.git","svn_url":"https://github.com/AlexandradelLago/lab-angular-data-binding","homepage":null,"size":1174,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ironhack-labs:master","ref":"master","sha":"99f371abf25adc6e3194bd6ef9449aa34ef19926","user":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":83251090,"name":"lab-angular-data-binding","full_name":"ironhack-labs/lab-angular-data-binding","owner":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ironhack-labs/lab-angular-data-binding","description":null,"fork":false,"url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding","forks_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/forks","keys_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/teams","hooks_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/hooks","issue_events_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/events{/number}","events_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/events","assignees_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/assignees{/user}","branches_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/branches{/branch}","tags_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/tags","blobs_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/statuses/{sha}","languages_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/languages","stargazers_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/stargazers","contributors_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/contributors","subscribers_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/subscribers","subscription_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/subscription","commits_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/contents/{+path}","compare_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/merges","archive_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/downloads","issues_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues{/number}","pulls_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls{/number}","milestones_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/milestones{/number}","notifications_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/labels{/name}","releases_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/releases{/id}","deployments_url":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/deployments","created_at":"2017-02-27T00:13:16Z","updated_at":"2017-02-27T00:13:36Z","pushed_at":"2018-03-07T17:55:18Z","git_url":"git://github.com/ironhack-labs/lab-angular-data-binding.git","ssh_url":"git@github.com:ironhack-labs/lab-angular-data-binding.git","clone_url":"https://github.com/ironhack-labs/lab-angular-data-binding.git","svn_url":"https://github.com/ironhack-labs/lab-angular-data-binding","homepage":null,"size":1148,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":349,"mirror_url":null,"archived":false,"open_issues_count":33,"license":null,"forks":349,"open_issues":33,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231"},"html":{"href":"https://github.com/ironhack-labs/lab-angular-data-binding/pull/231"},"issue":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/231"},"comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/ironhack-labs/lab-angular-data-binding/statuses/7a61c925558ba22b0a075fdaeb5ea6f5076abf0f"}},"author_association":"NONE"}}
{"actor":{"display_login":"ta-web-mex"}}