GitHub PullRequestReviewCommentEvent at 2014-11-22 18:15:52
Repository: Todo-git
Actor: orendon
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/comments/20758785","id":20758785,"diff_hunk":"@@ -18,4 +19,26 @@ $(document).ready(function() {\n       });\n     }\n   });\n+\n+\n+$('.todo-list').ON('click', '.CheckBox_class', function(){\n+\tvar li = $(this).closest(\"li\");\n+  \tvar itemId = li.attr(\"id\");\n+  \tvar url = \"http://makeitreal-todo.herokuapp.com/todo_items/\"+itemId;\n+  \tvar patch = function(valor){\n+    \t$.ajax(url, {\n+    \t\ttype: \"PATCH\",\n+      \t\tcontentType: \"application/json\",\n+      \t\tdata:'{\"done\":'+valor+'}',","path":"todo.js","position":19,"original_position":19,"commit_id":"c398aceb4567643649c90b43e40afe2a075417de","original_commit_id":"c398aceb4567643649c90b43e40afe2a075417de","user":{"login":"orendon","id":1316543,"avatar_url":"https://avatars.githubusercontent.com/u/1316543?v=3","gravatar_id":"","url":"https://api.github.com/users/orendon","html_url":"https://github.com/orendon","followers_url":"https://api.github.com/users/orendon/followers","following_url":"https://api.github.com/users/orendon/following{/other_user}","gists_url":"https://api.github.com/users/orendon/gists{/gist_id}","starred_url":"https://api.github.com/users/orendon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orendon/subscriptions","organizations_url":"https://api.github.com/users/orendon/orgs","repos_url":"https://api.github.com/users/orendon/repos","events_url":"https://api.github.com/users/orendon/events{/privacy}","received_events_url":"https://api.github.com/users/orendon/received_events","type":"User","site_admin":false},"body":"use `JSON.stringify` instead","created_at":"2014-11-22T18:15:52Z","updated_at":"2014-11-22T18:15:52Z","html_url":"https://github.com/ChrisEstanol/Todo-git/pull/4#discussion_r20758785","pull_request_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/comments/20758785"},"html":{"href":"https://github.com/ChrisEstanol/Todo-git/pull/4#discussion_r20758785"},"pull_request":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4","id":24890829,"html_url":"https://github.com/ChrisEstanol/Todo-git/pull/4","diff_url":"https://github.com/ChrisEstanol/Todo-git/pull/4.diff","patch_url":"https://github.com/ChrisEstanol/Todo-git/pull/4.patch","issue_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/4","number":4,"state":"closed","locked":false,"title":"function update","user":{"login":"danielllano","id":9059825,"avatar_url":"https://avatars.githubusercontent.com/u/9059825?v=3","gravatar_id":"","url":"https://api.github.com/users/danielllano","html_url":"https://github.com/danielllano","followers_url":"https://api.github.com/users/danielllano/followers","following_url":"https://api.github.com/users/danielllano/following{/other_user}","gists_url":"https://api.github.com/users/danielllano/gists{/gist_id}","starred_url":"https://api.github.com/users/danielllano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielllano/subscriptions","organizations_url":"https://api.github.com/users/danielllano/orgs","repos_url":"https://api.github.com/users/danielllano/repos","events_url":"https://api.github.com/users/danielllano/events{/privacy}","received_events_url":"https://api.github.com/users/danielllano/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-22T17:29:07Z","updated_at":"2014-11-22T18:15:52Z","closed_at":"2014-11-22T17:29:35Z","merged_at":"2014-11-22T17:29:35Z","merge_commit_sha":"1059359313114ca8b624ee5ca17b0db782e6e2af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/4/comments","statuses_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/statuses/c398aceb4567643649c90b43e40afe2a075417de","head":{"label":"ChrisEstanol:upload","ref":"upload","sha":"c398aceb4567643649c90b43e40afe2a075417de","user":{"login":"ChrisEstanol","id":7317401,"avatar_url":"https://avatars.githubusercontent.com/u/7317401?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisEstanol","html_url":"https://github.com/ChrisEstanol","followers_url":"https://api.github.com/users/ChrisEstanol/followers","following_url":"https://api.github.com/users/ChrisEstanol/following{/other_user}","gists_url":"https://api.github.com/users/ChrisEstanol/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisEstanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisEstanol/subscriptions","organizations_url":"https://api.github.com/users/ChrisEstanol/orgs","repos_url":"https://api.github.com/users/ChrisEstanol/repos","events_url":"https://api.github.com/users/ChrisEstanol/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisEstanol/received_events","type":"User","site_admin":false},"repo":{"id":27002594,"name":"Todo-git","full_name":"ChrisEstanol/Todo-git","owner":{"login":"ChrisEstanol","id":7317401,"avatar_url":"https://avatars.githubusercontent.com/u/7317401?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisEstanol","html_url":"https://github.com/ChrisEstanol","followers_url":"https://api.github.com/users/ChrisEstanol/followers","following_url":"https://api.github.com/users/ChrisEstanol/following{/other_user}","gists_url":"https://api.github.com/users/ChrisEstanol/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisEstanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisEstanol/subscriptions","organizations_url":"https://api.github.com/users/ChrisEstanol/orgs","repos_url":"https://api.github.com/users/ChrisEstanol/repos","events_url":"https://api.github.com/users/ChrisEstanol/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisEstanol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisEstanol/Todo-git","description":"","fork":false,"url":"https://api.github.com/repos/ChrisEstanol/Todo-git","forks_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/forks","keys_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/teams","hooks_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/hooks","issue_events_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/events","assignees_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/tags","blobs_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/languages","stargazers_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/stargazers","contributors_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/contributors","subscribers_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/subscribers","subscription_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/subscription","commits_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/merges","archive_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/downloads","issues_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/labels{/name}","releases_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/releases{/id}","created_at":"2014-11-22T15:15:37Z","updated_at":"2014-11-22T17:29:37Z","pushed_at":"2014-11-22T18:05:25Z","git_url":"git://github.com/ChrisEstanol/Todo-git.git","ssh_url":"git@github.com:ChrisEstanol/Todo-git.git","clone_url":"https://github.com/ChrisEstanol/Todo-git.git","svn_url":"https://github.com/ChrisEstanol/Todo-git","homepage":null,"size":0,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ChrisEstanol:master","ref":"master","sha":"6c4df88b86e12639f1096a7ca28b69a0e12b118f","user":{"login":"ChrisEstanol","id":7317401,"avatar_url":"https://avatars.githubusercontent.com/u/7317401?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisEstanol","html_url":"https://github.com/ChrisEstanol","followers_url":"https://api.github.com/users/ChrisEstanol/followers","following_url":"https://api.github.com/users/ChrisEstanol/following{/other_user}","gists_url":"https://api.github.com/users/ChrisEstanol/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisEstanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisEstanol/subscriptions","organizations_url":"https://api.github.com/users/ChrisEstanol/orgs","repos_url":"https://api.github.com/users/ChrisEstanol/repos","events_url":"https://api.github.com/users/ChrisEstanol/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisEstanol/received_events","type":"User","site_admin":false},"repo":{"id":27002594,"name":"Todo-git","full_name":"ChrisEstanol/Todo-git","owner":{"login":"ChrisEstanol","id":7317401,"avatar_url":"https://avatars.githubusercontent.com/u/7317401?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisEstanol","html_url":"https://github.com/ChrisEstanol","followers_url":"https://api.github.com/users/ChrisEstanol/followers","following_url":"https://api.github.com/users/ChrisEstanol/following{/other_user}","gists_url":"https://api.github.com/users/ChrisEstanol/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisEstanol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisEstanol/subscriptions","organizations_url":"https://api.github.com/users/ChrisEstanol/orgs","repos_url":"https://api.github.com/users/ChrisEstanol/repos","events_url":"https://api.github.com/users/ChrisEstanol/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisEstanol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisEstanol/Todo-git","description":"","fork":false,"url":"https://api.github.com/repos/ChrisEstanol/Todo-git","forks_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/forks","keys_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/teams","hooks_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/hooks","issue_events_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/events","assignees_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/tags","blobs_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/languages","stargazers_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/stargazers","contributors_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/contributors","subscribers_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/subscribers","subscription_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/subscription","commits_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/merges","archive_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/downloads","issues_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/labels{/name}","releases_url":"https://api.github.com/repos/ChrisEstanol/Todo-git/releases{/id}","created_at":"2014-11-22T15:15:37Z","updated_at":"2014-11-22T17:29:37Z","pushed_at":"2014-11-22T18:05:25Z","git_url":"git://github.com/ChrisEstanol/Todo-git.git","ssh_url":"git@github.com:ChrisEstanol/Todo-git.git","clone_url":"https://github.com/ChrisEstanol/Todo-git.git","svn_url":"https://github.com/ChrisEstanol/Todo-git","homepage":null,"size":0,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4"},"html":{"href":"https://github.com/ChrisEstanol/Todo-git/pull/4"},"issue":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/4"},"comments":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ChrisEstanol/Todo-git/statuses/c398aceb4567643649c90b43e40afe2a075417de"}}}}