{"action":"created","comment":{"url":"https://api.github.com/repos/andela/codango/pulls/comments/47019596","id":47019596,"diff_hunk":"@@ -306,14 +316,14 @@ var votes = {\n             },\n             success: function(data) {\n                 console.log(data);\n-                if (data['status'] == \"novote\") _this.find('span').removeClass('active');\n-                else _this.find('span').addClass('active')\n-                if (_this.hasClass('like')) {\n-                    _this.siblings('.unlike').find('span').removeClass('active').html(\"&nbsp;&nbsp;\"+data['downvotes'])\n-                    _this.find('span').html(\"&nbsp;&nbsp;\"+data['upvotes'])\n+                if (data[\"status\"] == \"novote\") _this.removeClass(\"active\");\n+                else _this.addClass(\"active\")\n+                if (_this.hasClass(\"like\")) {\n+                    _this.siblings(\".unlike\").removeClass(\"active\").find(\"span\").html(\"&nbsp;&nbsp;\"+data[\"downvotes\"])","path":"codango/static/js/app.js","position":129,"original_position":129,"commit_id":"26acea0da42d78200bbf015b9d1697099905f5b7","original_commit_id":"26acea0da42d78200bbf015b9d1697099905f5b7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.<br>['downvotes'] is better written in dot notation.<br>Too many errors. (64% scanned).","created_at":"2015-12-08T21:53:39Z","updated_at":"2015-12-08T21:53:39Z","html_url":"https://github.com/andela/codango/pull/61#discussion_r47019596","pull_request_url":"https://api.github.com/repos/andela/codango/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/andela/codango/pulls/comments/47019596"},"html":{"href":"https://github.com/andela/codango/pull/61#discussion_r47019596"},"pull_request":{"href":"https://api.github.com/repos/andela/codango/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/andela/codango/pulls/61","id":52236221,"html_url":"https://github.com/andela/codango/pull/61","diff_url":"https://github.com/andela/codango/pull/61.diff","patch_url":"https://github.com/andela/codango/pull/61.patch","issue_url":"https://api.github.com/repos/andela/codango/issues/61","number":61,"state":"open","locked":false,"title":"Feature ui glitches","user":{"login":"andela-ooshodi","id":13224175,"avatar_url":"https://avatars.githubusercontent.com/u/13224175?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-ooshodi","html_url":"https://github.com/andela-ooshodi","followers_url":"https://api.github.com/users/andela-ooshodi/followers","following_url":"https://api.github.com/users/andela-ooshodi/following{/other_user}","gists_url":"https://api.github.com/users/andela-ooshodi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-ooshodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-ooshodi/subscriptions","organizations_url":"https://api.github.com/users/andela-ooshodi/orgs","repos_url":"https://api.github.com/users/andela-ooshodi/repos","events_url":"https://api.github.com/users/andela-ooshodi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-ooshodi/received_events","type":"User","site_admin":false},"body":"Finished this feature specified tasks on Codango's UI","created_at":"2015-12-01T09:51:22Z","updated_at":"2015-12-08T21:53:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"728d9901edf04f5839c7adc3095ac0c47c3d78da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/codango/pulls/61/commits","review_comments_url":"https://api.github.com/repos/andela/codango/pulls/61/comments","review_comment_url":"https://api.github.com/repos/andela/codango/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/codango/issues/61/comments","statuses_url":"https://api.github.com/repos/andela/codango/statuses/26acea0da42d78200bbf015b9d1697099905f5b7","head":{"label":"andela:feature-ui-glitches","ref":"feature-ui-glitches","sha":"26acea0da42d78200bbf015b9d1697099905f5b7","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":40593971,"name":"codango","full_name":"andela/codango","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/codango","description":"Social Network for Coders","fork":false,"url":"https://api.github.com/repos/andela/codango","forks_url":"https://api.github.com/repos/andela/codango/forks","keys_url":"https://api.github.com/repos/andela/codango/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/codango/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/codango/teams","hooks_url":"https://api.github.com/repos/andela/codango/hooks","issue_events_url":"https://api.github.com/repos/andela/codango/issues/events{/number}","events_url":"https://api.github.com/repos/andela/codango/events","assignees_url":"https://api.github.com/repos/andela/codango/assignees{/user}","branches_url":"https://api.github.com/repos/andela/codango/branches{/branch}","tags_url":"https://api.github.com/repos/andela/codango/tags","blobs_url":"https://api.github.com/repos/andela/codango/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/codango/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/codango/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/codango/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/codango/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/codango/languages","stargazers_url":"https://api.github.com/repos/andela/codango/stargazers","contributors_url":"https://api.github.com/repos/andela/codango/contributors","subscribers_url":"https://api.github.com/repos/andela/codango/subscribers","subscription_url":"https://api.github.com/repos/andela/codango/subscription","commits_url":"https://api.github.com/repos/andela/codango/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/codango/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/codango/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/codango/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/codango/contents/{+path}","compare_url":"https://api.github.com/repos/andela/codango/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/codango/merges","archive_url":"https://api.github.com/repos/andela/codango/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/codango/downloads","issues_url":"https://api.github.com/repos/andela/codango/issues{/number}","pulls_url":"https://api.github.com/repos/andela/codango/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/codango/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/codango/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/codango/labels{/name}","releases_url":"https://api.github.com/repos/andela/codango/releases{/id}","created_at":"2015-08-12T10:04:41Z","updated_at":"2015-10-20T11:43:54Z","pushed_at":"2015-12-08T21:53:37Z","git_url":"git://github.com/andela/codango.git","ssh_url":"git@github.com:andela/codango.git","clone_url":"https://github.com/andela/codango.git","svn_url":"https://github.com/andela/codango","homepage":"","size":8264,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"a707e9b86cfc750648d36f31d8b4e42d6db93bd4","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":40593971,"name":"codango","full_name":"andela/codango","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/codango","description":"Social Network for Coders","fork":false,"url":"https://api.github.com/repos/andela/codango","forks_url":"https://api.github.com/repos/andela/codango/forks","keys_url":"https://api.github.com/repos/andela/codango/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/codango/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/codango/teams","hooks_url":"https://api.github.com/repos/andela/codango/hooks","issue_events_url":"https://api.github.com/repos/andela/codango/issues/events{/number}","events_url":"https://api.github.com/repos/andela/codango/events","assignees_url":"https://api.github.com/repos/andela/codango/assignees{/user}","branches_url":"https://api.github.com/repos/andela/codango/branches{/branch}","tags_url":"https://api.github.com/repos/andela/codango/tags","blobs_url":"https://api.github.com/repos/andela/codango/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/codango/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/codango/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/codango/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/codango/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/codango/languages","stargazers_url":"https://api.github.com/repos/andela/codango/stargazers","contributors_url":"https://api.github.com/repos/andela/codango/contributors","subscribers_url":"https://api.github.com/repos/andela/codango/subscribers","subscription_url":"https://api.github.com/repos/andela/codango/subscription","commits_url":"https://api.github.com/repos/andela/codango/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/codango/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/codango/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/codango/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/codango/contents/{+path}","compare_url":"https://api.github.com/repos/andela/codango/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/codango/merges","archive_url":"https://api.github.com/repos/andela/codango/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/codango/downloads","issues_url":"https://api.github.com/repos/andela/codango/issues{/number}","pulls_url":"https://api.github.com/repos/andela/codango/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/codango/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/codango/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/codango/labels{/name}","releases_url":"https://api.github.com/repos/andela/codango/releases{/id}","created_at":"2015-08-12T10:04:41Z","updated_at":"2015-10-20T11:43:54Z","pushed_at":"2015-12-08T21:53:37Z","git_url":"git://github.com/andela/codango.git","ssh_url":"git@github.com:andela/codango.git","clone_url":"https://github.com/andela/codango.git","svn_url":"https://github.com/andela/codango","homepage":"","size":8264,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/codango/pulls/61"},"html":{"href":"https://github.com/andela/codango/pull/61"},"issue":{"href":"https://api.github.com/repos/andela/codango/issues/61"},"comments":{"href":"https://api.github.com/repos/andela/codango/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/codango/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/codango/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/codango/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/andela/codango/statuses/26acea0da42d78200bbf015b9d1697099905f5b7"}}}}