{"action":"created","comment":{"url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/comments/43296161","id":43296161,"diff_hunk":"@@ -64,6 +82,17 @@ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, $filter, tod\n \t\ttodos.splice(todos.indexOf(todo), 1);\n \t\ttodoStorage.put(todos);\n \t};\n+  \n+  $scope.toggleWipOnTodo = function (todo) {\n+    if(todo.wip) {\n+      todo.wip = false;\n+    } else {\n+      todo.wip = true;\n+    }\n+\n+    console.log(todo.wip);\n+\t\ttodoStorage.put(todos);\n+\t};\n \n \t$scope.todoCompleted = function (todo) {\n \t\t$scope.remainingCount += todo.completed ? -1 : 1;","path":"PullRequest/js/controllers/todoCtrl.js","position":63,"original_position":63,"commit_id":"ceab39e2c8e854e0c43e37bb3ff5df8a478c0d11","original_commit_id":"ceab39e2c8e854e0c43e37bb3ff5df8a478c0d11","user":{"login":"burrowsinterview","id":13368339,"avatar_url":"https://avatars.githubusercontent.com/u/13368339?v=3","gravatar_id":"","url":"https://api.github.com/users/burrowsinterview","html_url":"https://github.com/burrowsinterview","followers_url":"https://api.github.com/users/burrowsinterview/followers","following_url":"https://api.github.com/users/burrowsinterview/following{/other_user}","gists_url":"https://api.github.com/users/burrowsinterview/gists{/gist_id}","starred_url":"https://api.github.com/users/burrowsinterview/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burrowsinterview/subscriptions","organizations_url":"https://api.github.com/users/burrowsinterview/orgs","repos_url":"https://api.github.com/users/burrowsinterview/repos","events_url":"https://api.github.com/users/burrowsinterview/events{/privacy}","received_events_url":"https://api.github.com/users/burrowsinterview/received_events","type":"User","site_admin":false},"body":"I don't think it's working this way... \"+=\" can't be false","created_at":"2015-10-28T18:14:57Z","updated_at":"2015-10-28T18:14:57Z","html_url":"https://github.com/burrowsyr/FrontendInterview/pull/1#discussion_r43296161","pull_request_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/comments/43296161"},"html":{"href":"https://github.com/burrowsyr/FrontendInterview/pull/1#discussion_r43296161"},"pull_request":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1","id":48084686,"html_url":"https://github.com/burrowsyr/FrontendInterview/pull/1","diff_url":"https://github.com/burrowsyr/FrontendInterview/pull/1.diff","patch_url":"https://github.com/burrowsyr/FrontendInterview/pull/1.patch","issue_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/1","number":1,"state":"open","locked":false,"title":"Feature/add wip status","user":{"login":"rickyclegg","id":1965635,"avatar_url":"https://avatars.githubusercontent.com/u/1965635?v=3","gravatar_id":"","url":"https://api.github.com/users/rickyclegg","html_url":"https://github.com/rickyclegg","followers_url":"https://api.github.com/users/rickyclegg/followers","following_url":"https://api.github.com/users/rickyclegg/following{/other_user}","gists_url":"https://api.github.com/users/rickyclegg/gists{/gist_id}","starred_url":"https://api.github.com/users/rickyclegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickyclegg/subscriptions","organizations_url":"https://api.github.com/users/rickyclegg/orgs","repos_url":"https://api.github.com/users/rickyclegg/repos","events_url":"https://api.github.com/users/rickyclegg/events{/privacy}","received_events_url":"https://api.github.com/users/rickyclegg/received_events","type":"User","site_admin":false},"body":"Please review.","created_at":"2015-10-19T15:12:57Z","updated_at":"2015-10-28T18:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b2209fbda8c16b997e885cdf5f198df49e832bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1/commits","review_comments_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1/comments","review_comment_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/1/comments","statuses_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/statuses/ceab39e2c8e854e0c43e37bb3ff5df8a478c0d11","head":{"label":"burrowsyr:feature/add_wip_status","ref":"feature/add_wip_status","sha":"ceab39e2c8e854e0c43e37bb3ff5df8a478c0d11","user":{"login":"burrowsyr","id":3775518,"avatar_url":"https://avatars.githubusercontent.com/u/3775518?v=3","gravatar_id":"","url":"https://api.github.com/users/burrowsyr","html_url":"https://github.com/burrowsyr","followers_url":"https://api.github.com/users/burrowsyr/followers","following_url":"https://api.github.com/users/burrowsyr/following{/other_user}","gists_url":"https://api.github.com/users/burrowsyr/gists{/gist_id}","starred_url":"https://api.github.com/users/burrowsyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burrowsyr/subscriptions","organizations_url":"https://api.github.com/users/burrowsyr/orgs","repos_url":"https://api.github.com/users/burrowsyr/repos","events_url":"https://api.github.com/users/burrowsyr/events{/privacy}","received_events_url":"https://api.github.com/users/burrowsyr/received_events","type":"Organization","site_admin":false},"repo":{"id":44542910,"name":"FrontendInterview","full_name":"burrowsyr/FrontendInterview","owner":{"login":"burrowsyr","id":3775518,"avatar_url":"https://avatars.githubusercontent.com/u/3775518?v=3","gravatar_id":"","url":"https://api.github.com/users/burrowsyr","html_url":"https://github.com/burrowsyr","followers_url":"https://api.github.com/users/burrowsyr/followers","following_url":"https://api.github.com/users/burrowsyr/following{/other_user}","gists_url":"https://api.github.com/users/burrowsyr/gists{/gist_id}","starred_url":"https://api.github.com/users/burrowsyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burrowsyr/subscriptions","organizations_url":"https://api.github.com/users/burrowsyr/orgs","repos_url":"https://api.github.com/users/burrowsyr/repos","events_url":"https://api.github.com/users/burrowsyr/events{/privacy}","received_events_url":"https://api.github.com/users/burrowsyr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/burrowsyr/FrontendInterview","description":"Resources for Front-end recruitment.","fork":false,"url":"https://api.github.com/repos/burrowsyr/FrontendInterview","forks_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/forks","keys_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/teams","hooks_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/hooks","issue_events_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/events{/number}","events_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/events","assignees_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/assignees{/user}","branches_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/branches{/branch}","tags_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/tags","blobs_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/refs{/sha}","trees_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/statuses/{sha}","languages_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/languages","stargazers_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/stargazers","contributors_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/contributors","subscribers_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/subscribers","subscription_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/subscription","commits_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/commits{/sha}","git_commits_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/commits{/sha}","comments_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/comments{/number}","issue_comment_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/comments{/number}","contents_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/contents/{+path}","compare_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/merges","archive_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/downloads","issues_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues{/number}","pulls_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls{/number}","milestones_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/milestones{/number}","notifications_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/labels{/name}","releases_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/releases{/id}","created_at":"2015-10-19T15:06:34Z","updated_at":"2015-10-19T15:06:44Z","pushed_at":"2015-10-19T15:12:57Z","git_url":"git://github.com/burrowsyr/FrontendInterview.git","ssh_url":"git@github.com:burrowsyr/FrontendInterview.git","clone_url":"https://github.com/burrowsyr/FrontendInterview.git","svn_url":"https://github.com/burrowsyr/FrontendInterview","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"burrowsyr:master","ref":"master","sha":"556e2cb48abe18f213817b74f593157b57e82124","user":{"login":"burrowsyr","id":3775518,"avatar_url":"https://avatars.githubusercontent.com/u/3775518?v=3","gravatar_id":"","url":"https://api.github.com/users/burrowsyr","html_url":"https://github.com/burrowsyr","followers_url":"https://api.github.com/users/burrowsyr/followers","following_url":"https://api.github.com/users/burrowsyr/following{/other_user}","gists_url":"https://api.github.com/users/burrowsyr/gists{/gist_id}","starred_url":"https://api.github.com/users/burrowsyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burrowsyr/subscriptions","organizations_url":"https://api.github.com/users/burrowsyr/orgs","repos_url":"https://api.github.com/users/burrowsyr/repos","events_url":"https://api.github.com/users/burrowsyr/events{/privacy}","received_events_url":"https://api.github.com/users/burrowsyr/received_events","type":"Organization","site_admin":false},"repo":{"id":44542910,"name":"FrontendInterview","full_name":"burrowsyr/FrontendInterview","owner":{"login":"burrowsyr","id":3775518,"avatar_url":"https://avatars.githubusercontent.com/u/3775518?v=3","gravatar_id":"","url":"https://api.github.com/users/burrowsyr","html_url":"https://github.com/burrowsyr","followers_url":"https://api.github.com/users/burrowsyr/followers","following_url":"https://api.github.com/users/burrowsyr/following{/other_user}","gists_url":"https://api.github.com/users/burrowsyr/gists{/gist_id}","starred_url":"https://api.github.com/users/burrowsyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burrowsyr/subscriptions","organizations_url":"https://api.github.com/users/burrowsyr/orgs","repos_url":"https://api.github.com/users/burrowsyr/repos","events_url":"https://api.github.com/users/burrowsyr/events{/privacy}","received_events_url":"https://api.github.com/users/burrowsyr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/burrowsyr/FrontendInterview","description":"Resources for Front-end recruitment.","fork":false,"url":"https://api.github.com/repos/burrowsyr/FrontendInterview","forks_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/forks","keys_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/teams","hooks_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/hooks","issue_events_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/events{/number}","events_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/events","assignees_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/assignees{/user}","branches_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/branches{/branch}","tags_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/tags","blobs_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/refs{/sha}","trees_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/statuses/{sha}","languages_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/languages","stargazers_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/stargazers","contributors_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/contributors","subscribers_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/subscribers","subscription_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/subscription","commits_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/commits{/sha}","git_commits_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/git/commits{/sha}","comments_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/comments{/number}","issue_comment_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/comments{/number}","contents_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/contents/{+path}","compare_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/merges","archive_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/downloads","issues_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues{/number}","pulls_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls{/number}","milestones_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/milestones{/number}","notifications_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/labels{/name}","releases_url":"https://api.github.com/repos/burrowsyr/FrontendInterview/releases{/id}","created_at":"2015-10-19T15:06:34Z","updated_at":"2015-10-19T15:06:44Z","pushed_at":"2015-10-19T15:12:57Z","git_url":"git://github.com/burrowsyr/FrontendInterview.git","ssh_url":"git@github.com:burrowsyr/FrontendInterview.git","clone_url":"https://github.com/burrowsyr/FrontendInterview.git","svn_url":"https://github.com/burrowsyr/FrontendInterview","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1"},"html":{"href":"https://github.com/burrowsyr/FrontendInterview/pull/1"},"issue":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/1"},"comments":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/burrowsyr/FrontendInterview/statuses/ceab39e2c8e854e0c43e37bb3ff5df8a478c0d11"}}}}