{"action":"created","comment":{"url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/comments/38267054","id":38267054,"diff_hunk":"@@ -9,25 +14,37 @@ $( document ).ready(function() {\n    \t\tvar urlString =\"\";\r","path":"app/assets/javascripts/microposts.js","position":15,"original_position":15,"commit_id":"b6a51f237520b089c2a9bbe1b454e719fa3c6271","original_commit_id":"b6a51f237520b089c2a9bbe1b454e719fa3c6271","user":{"login":"vnu","id":1395635,"avatar_url":"https://avatars.githubusercontent.com/u/1395635?v=3","gravatar_id":"","url":"https://api.github.com/users/vnu","html_url":"https://github.com/vnu","followers_url":"https://api.github.com/users/vnu/followers","following_url":"https://api.github.com/users/vnu/following{/other_user}","gists_url":"https://api.github.com/users/vnu/gists{/gist_id}","starred_url":"https://api.github.com/users/vnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnu/subscriptions","organizations_url":"https://api.github.com/users/vnu/orgs","repos_url":"https://api.github.com/users/vnu/repos","events_url":"https://api.github.com/users/vnu/events{/privacy}","received_events_url":"https://api.github.com/users/vnu/received_events","type":"User","site_admin":false},"body":"urlString = \"/microposts/\"+id+\"/\"","created_at":"2015-08-29T23:38:55Z","updated_at":"2015-08-29T23:38:55Z","html_url":"https://github.com/vimalathithanr/MicroBlogPost/pull/21#discussion_r38267054","pull_request_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/comments/38267054"},"html":{"href":"https://github.com/vimalathithanr/MicroBlogPost/pull/21#discussion_r38267054"},"pull_request":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21","id":43700633,"html_url":"https://github.com/vimalathithanr/MicroBlogPost/pull/21","diff_url":"https://github.com/vimalathithanr/MicroBlogPost/pull/21.diff","patch_url":"https://github.com/vimalathithanr/MicroBlogPost/pull/21.patch","issue_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/21","number":21,"state":"open","locked":false,"title":"Replacing Favorites/ Unfavorites link with images","user":{"login":"vimalathithanr","id":3164911,"avatar_url":"https://avatars.githubusercontent.com/u/3164911?v=3","gravatar_id":"","url":"https://api.github.com/users/vimalathithanr","html_url":"https://github.com/vimalathithanr","followers_url":"https://api.github.com/users/vimalathithanr/followers","following_url":"https://api.github.com/users/vimalathithanr/following{/other_user}","gists_url":"https://api.github.com/users/vimalathithanr/gists{/gist_id}","starred_url":"https://api.github.com/users/vimalathithanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimalathithanr/subscriptions","organizations_url":"https://api.github.com/users/vimalathithanr/orgs","repos_url":"https://api.github.com/users/vimalathithanr/repos","events_url":"https://api.github.com/users/vimalathithanr/events{/privacy}","received_events_url":"https://api.github.com/users/vimalathithanr/received_events","type":"User","site_admin":false},"body":"The purpose of this pull request is to:\r\n1. Replace favorites/unfavorites link with images.\r\n2. On successful ajax return, update the attributes.\r\n3. Refactoring the code.","created_at":"2015-08-29T19:41:29Z","updated_at":"2015-08-29T23:38:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc01d215c4273dc97d20191f140e3dccf7512485","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21/commits","review_comments_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21/comments","review_comment_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/21/comments","statuses_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/statuses/b6a51f237520b089c2a9bbe1b454e719fa3c6271","head":{"label":"vimalathithanr:issue19","ref":"issue19","sha":"b6a51f237520b089c2a9bbe1b454e719fa3c6271","user":{"login":"vimalathithanr","id":3164911,"avatar_url":"https://avatars.githubusercontent.com/u/3164911?v=3","gravatar_id":"","url":"https://api.github.com/users/vimalathithanr","html_url":"https://github.com/vimalathithanr","followers_url":"https://api.github.com/users/vimalathithanr/followers","following_url":"https://api.github.com/users/vimalathithanr/following{/other_user}","gists_url":"https://api.github.com/users/vimalathithanr/gists{/gist_id}","starred_url":"https://api.github.com/users/vimalathithanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimalathithanr/subscriptions","organizations_url":"https://api.github.com/users/vimalathithanr/orgs","repos_url":"https://api.github.com/users/vimalathithanr/repos","events_url":"https://api.github.com/users/vimalathithanr/events{/privacy}","received_events_url":"https://api.github.com/users/vimalathithanr/received_events","type":"User","site_admin":false},"repo":{"id":40856551,"name":"MicroBlogPost","full_name":"vimalathithanr/MicroBlogPost","owner":{"login":"vimalathithanr","id":3164911,"avatar_url":"https://avatars.githubusercontent.com/u/3164911?v=3","gravatar_id":"","url":"https://api.github.com/users/vimalathithanr","html_url":"https://github.com/vimalathithanr","followers_url":"https://api.github.com/users/vimalathithanr/followers","following_url":"https://api.github.com/users/vimalathithanr/following{/other_user}","gists_url":"https://api.github.com/users/vimalathithanr/gists{/gist_id}","starred_url":"https://api.github.com/users/vimalathithanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimalathithanr/subscriptions","organizations_url":"https://api.github.com/users/vimalathithanr/orgs","repos_url":"https://api.github.com/users/vimalathithanr/repos","events_url":"https://api.github.com/users/vimalathithanr/events{/privacy}","received_events_url":"https://api.github.com/users/vimalathithanr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vimalathithanr/MicroBlogPost","description":"Project on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost","forks_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/forks","keys_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/teams","hooks_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/hooks","issue_events_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/events{/number}","events_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/events","assignees_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/assignees{/user}","branches_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/branches{/branch}","tags_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/tags","blobs_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/statuses/{sha}","languages_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/languages","stargazers_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/stargazers","contributors_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/contributors","subscribers_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/subscribers","subscription_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/subscription","commits_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/contents/{+path}","compare_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/merges","archive_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/downloads","issues_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues{/number}","pulls_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls{/number}","milestones_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/milestones{/number}","notifications_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/labels{/name}","releases_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/releases{/id}","created_at":"2015-08-17T02:25:12Z","updated_at":"2015-08-17T02:29:30Z","pushed_at":"2015-08-29T23:35:34Z","git_url":"git://github.com/vimalathithanr/MicroBlogPost.git","ssh_url":"git@github.com:vimalathithanr/MicroBlogPost.git","clone_url":"https://github.com/vimalathithanr/MicroBlogPost.git","svn_url":"https://github.com/vimalathithanr/MicroBlogPost","homepage":null,"size":472,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"vimalathithanr:master","ref":"master","sha":"5feddf74aceb57c6da7740d458c80143eb2780d0","user":{"login":"vimalathithanr","id":3164911,"avatar_url":"https://avatars.githubusercontent.com/u/3164911?v=3","gravatar_id":"","url":"https://api.github.com/users/vimalathithanr","html_url":"https://github.com/vimalathithanr","followers_url":"https://api.github.com/users/vimalathithanr/followers","following_url":"https://api.github.com/users/vimalathithanr/following{/other_user}","gists_url":"https://api.github.com/users/vimalathithanr/gists{/gist_id}","starred_url":"https://api.github.com/users/vimalathithanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimalathithanr/subscriptions","organizations_url":"https://api.github.com/users/vimalathithanr/orgs","repos_url":"https://api.github.com/users/vimalathithanr/repos","events_url":"https://api.github.com/users/vimalathithanr/events{/privacy}","received_events_url":"https://api.github.com/users/vimalathithanr/received_events","type":"User","site_admin":false},"repo":{"id":40856551,"name":"MicroBlogPost","full_name":"vimalathithanr/MicroBlogPost","owner":{"login":"vimalathithanr","id":3164911,"avatar_url":"https://avatars.githubusercontent.com/u/3164911?v=3","gravatar_id":"","url":"https://api.github.com/users/vimalathithanr","html_url":"https://github.com/vimalathithanr","followers_url":"https://api.github.com/users/vimalathithanr/followers","following_url":"https://api.github.com/users/vimalathithanr/following{/other_user}","gists_url":"https://api.github.com/users/vimalathithanr/gists{/gist_id}","starred_url":"https://api.github.com/users/vimalathithanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vimalathithanr/subscriptions","organizations_url":"https://api.github.com/users/vimalathithanr/orgs","repos_url":"https://api.github.com/users/vimalathithanr/repos","events_url":"https://api.github.com/users/vimalathithanr/events{/privacy}","received_events_url":"https://api.github.com/users/vimalathithanr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vimalathithanr/MicroBlogPost","description":"Project on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost","forks_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/forks","keys_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/teams","hooks_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/hooks","issue_events_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/events{/number}","events_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/events","assignees_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/assignees{/user}","branches_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/branches{/branch}","tags_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/tags","blobs_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/refs{/sha}","trees_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/statuses/{sha}","languages_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/languages","stargazers_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/stargazers","contributors_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/contributors","subscribers_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/subscribers","subscription_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/subscription","commits_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/commits{/sha}","git_commits_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/git/commits{/sha}","comments_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/comments{/number}","issue_comment_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/comments{/number}","contents_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/contents/{+path}","compare_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/merges","archive_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/downloads","issues_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues{/number}","pulls_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls{/number}","milestones_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/milestones{/number}","notifications_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/labels{/name}","releases_url":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/releases{/id}","created_at":"2015-08-17T02:25:12Z","updated_at":"2015-08-17T02:29:30Z","pushed_at":"2015-08-29T23:35:34Z","git_url":"git://github.com/vimalathithanr/MicroBlogPost.git","ssh_url":"git@github.com:vimalathithanr/MicroBlogPost.git","clone_url":"https://github.com/vimalathithanr/MicroBlogPost.git","svn_url":"https://github.com/vimalathithanr/MicroBlogPost","homepage":null,"size":472,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21"},"html":{"href":"https://github.com/vimalathithanr/MicroBlogPost/pull/21"},"issue":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/21"},"comments":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/vimalathithanr/MicroBlogPost/statuses/b6a51f237520b089c2a9bbe1b454e719fa3c6271"}}}}