{"action":"created","comment":{"url":"https://api.github.com/repos/andela/suyabay/pulls/comments/51404524","id":51404524,"diff_hunk":"@@ -1,56 +1,55 @@\n $(document).ready(function(){\n \n \t$(\".comment-submit\").on(\"click\", function(){\n-\tvar divId         = $(this).data(\"id\");\n-\tvar comment       = trim($(\"#comment-field\"+divId).val());\n-\tvar avatar        = $(this).data(\"avatar\");\n-\tvar comment_count = parseInt($(this).data(\"comment-count\")) + 1;\n-\tvar token         = $(this).data(\"token\");\n-\n-\tvar url        = \"/comment\";\n-\tvar user_id    = $(\"#user_id\"+divId).val();\n-\tvar episode_id = $(\"#episode_id\"+divId).val();\n-\n-\tvar data =\n-\t\t{\n-\t\t\tparameter  :\n-\t\t\t\t{\n-\t\t\t\t\t_token     : token,\n-\t\t\t\t\tuser_id    : user_id,\n-\t\t\t\t\tepisode_id : episode_id,\n-\t\t\t\t\tcomment    : comment\n+\t\t\n+\t\tvar comment       = $(\"#comment-field\").val();\n+\t\tvar avatar        = $(this).data(\"avatar\");\n+\t\tvar comment_count = parseInt($(this).data(\"comment-count\")) + 1;\n+\t\tvar token         = $(this).data(\"token\");\n+\n+\t\tvar url        = \"/comment\";\n+\t\tvar user_id    = $(\"#user_id\").val();\n+\t\tvar episode_id = $(\"#episode_id\").val();","path":"public/js/comment.js","position":30,"original_position":30,"commit_id":"fdccad3afaf25e17c378b9617a928c2dc64b33f7","original_commit_id":"fdccad3afaf25e17c378b9617a928c2dc64b33f7","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":"Identifier 'episode_id' is not in camel case.","created_at":"2016-02-01T11:00:20Z","updated_at":"2016-02-01T11:00:20Z","html_url":"https://github.com/andela/suyabay/pull/152#discussion_r51404524","pull_request_url":"https://api.github.com/repos/andela/suyabay/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/andela/suyabay/pulls/comments/51404524"},"html":{"href":"https://github.com/andela/suyabay/pull/152#discussion_r51404524"},"pull_request":{"href":"https://api.github.com/repos/andela/suyabay/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/andela/suyabay/pulls/152","id":57824220,"html_url":"https://github.com/andela/suyabay/pull/152","diff_url":"https://github.com/andela/suyabay/pull/152.diff","patch_url":"https://github.com/andela/suyabay/pull/152.patch","issue_url":"https://api.github.com/repos/andela/suyabay/issues/152","number":152,"state":"open","locked":false,"title":"[Feature #112492691] Modify episode layout","user":{"login":"andela-eosuagwu","id":13197724,"avatar_url":"https://avatars.githubusercontent.com/u/13197724?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-eosuagwu","html_url":"https://github.com/andela-eosuagwu","followers_url":"https://api.github.com/users/andela-eosuagwu/followers","following_url":"https://api.github.com/users/andela-eosuagwu/following{/other_user}","gists_url":"https://api.github.com/users/andela-eosuagwu/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-eosuagwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-eosuagwu/subscriptions","organizations_url":"https://api.github.com/users/andela-eosuagwu/orgs","repos_url":"https://api.github.com/users/andela-eosuagwu/repos","events_url":"https://api.github.com/users/andela-eosuagwu/events{/privacy}","received_events_url":"https://api.github.com/users/andela-eosuagwu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-01T10:59:51Z","updated_at":"2016-02-01T11:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c9896f3e65415ffdc04fa9a18a0de0a70b9fc4b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/suyabay/pulls/152/commits","review_comments_url":"https://api.github.com/repos/andela/suyabay/pulls/152/comments","review_comment_url":"https://api.github.com/repos/andela/suyabay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/suyabay/issues/152/comments","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/fdccad3afaf25e17c378b9617a928c2dc64b33f7","head":{"label":"andela:ModifyEpisodeLayout","ref":"ModifyEpisodeLayout","sha":"fdccad3afaf25e17c378b9617a928c2dc64b33f7","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":41855319,"name":"suyabay","full_name":"andela/suyabay","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/suyabay","description":"Awesome Podcast FM Network for Suya Lovers","fork":false,"url":"https://api.github.com/repos/andela/suyabay","forks_url":"https://api.github.com/repos/andela/suyabay/forks","keys_url":"https://api.github.com/repos/andela/suyabay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/suyabay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/suyabay/teams","hooks_url":"https://api.github.com/repos/andela/suyabay/hooks","issue_events_url":"https://api.github.com/repos/andela/suyabay/issues/events{/number}","events_url":"https://api.github.com/repos/andela/suyabay/events","assignees_url":"https://api.github.com/repos/andela/suyabay/assignees{/user}","branches_url":"https://api.github.com/repos/andela/suyabay/branches{/branch}","tags_url":"https://api.github.com/repos/andela/suyabay/tags","blobs_url":"https://api.github.com/repos/andela/suyabay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/suyabay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/suyabay/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/suyabay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/suyabay/languages","stargazers_url":"https://api.github.com/repos/andela/suyabay/stargazers","contributors_url":"https://api.github.com/repos/andela/suyabay/contributors","subscribers_url":"https://api.github.com/repos/andela/suyabay/subscribers","subscription_url":"https://api.github.com/repos/andela/suyabay/subscription","commits_url":"https://api.github.com/repos/andela/suyabay/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/suyabay/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/suyabay/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/suyabay/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/suyabay/contents/{+path}","compare_url":"https://api.github.com/repos/andela/suyabay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/suyabay/merges","archive_url":"https://api.github.com/repos/andela/suyabay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/suyabay/downloads","issues_url":"https://api.github.com/repos/andela/suyabay/issues{/number}","pulls_url":"https://api.github.com/repos/andela/suyabay/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/suyabay/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/suyabay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/suyabay/labels{/name}","releases_url":"https://api.github.com/repos/andela/suyabay/releases{/id}","deployments_url":"https://api.github.com/repos/andela/suyabay/deployments","created_at":"2015-09-03T11:00:56Z","updated_at":"2016-01-23T19:28:22Z","pushed_at":"2016-02-01T10:59:51Z","git_url":"git://github.com/andela/suyabay.git","ssh_url":"git@github.com:andela/suyabay.git","clone_url":"https://github.com/andela/suyabay.git","svn_url":"https://github.com/andela/suyabay","homepage":"https://suyabay-staging.herokuapp.com","size":16229,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":4,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"e64db0696681af94caf74110a602ebfc3f3d855e","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":41855319,"name":"suyabay","full_name":"andela/suyabay","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/suyabay","description":"Awesome Podcast FM Network for Suya Lovers","fork":false,"url":"https://api.github.com/repos/andela/suyabay","forks_url":"https://api.github.com/repos/andela/suyabay/forks","keys_url":"https://api.github.com/repos/andela/suyabay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/suyabay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/suyabay/teams","hooks_url":"https://api.github.com/repos/andela/suyabay/hooks","issue_events_url":"https://api.github.com/repos/andela/suyabay/issues/events{/number}","events_url":"https://api.github.com/repos/andela/suyabay/events","assignees_url":"https://api.github.com/repos/andela/suyabay/assignees{/user}","branches_url":"https://api.github.com/repos/andela/suyabay/branches{/branch}","tags_url":"https://api.github.com/repos/andela/suyabay/tags","blobs_url":"https://api.github.com/repos/andela/suyabay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/suyabay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/suyabay/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/suyabay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/suyabay/languages","stargazers_url":"https://api.github.com/repos/andela/suyabay/stargazers","contributors_url":"https://api.github.com/repos/andela/suyabay/contributors","subscribers_url":"https://api.github.com/repos/andela/suyabay/subscribers","subscription_url":"https://api.github.com/repos/andela/suyabay/subscription","commits_url":"https://api.github.com/repos/andela/suyabay/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/suyabay/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/suyabay/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/suyabay/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/suyabay/contents/{+path}","compare_url":"https://api.github.com/repos/andela/suyabay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/suyabay/merges","archive_url":"https://api.github.com/repos/andela/suyabay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/suyabay/downloads","issues_url":"https://api.github.com/repos/andela/suyabay/issues{/number}","pulls_url":"https://api.github.com/repos/andela/suyabay/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/suyabay/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/suyabay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/suyabay/labels{/name}","releases_url":"https://api.github.com/repos/andela/suyabay/releases{/id}","deployments_url":"https://api.github.com/repos/andela/suyabay/deployments","created_at":"2015-09-03T11:00:56Z","updated_at":"2016-01-23T19:28:22Z","pushed_at":"2016-02-01T10:59:51Z","git_url":"git://github.com/andela/suyabay.git","ssh_url":"git@github.com:andela/suyabay.git","clone_url":"https://github.com/andela/suyabay.git","svn_url":"https://github.com/andela/suyabay","homepage":"https://suyabay-staging.herokuapp.com","size":16229,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":4,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/suyabay/pulls/152"},"html":{"href":"https://github.com/andela/suyabay/pull/152"},"issue":{"href":"https://api.github.com/repos/andela/suyabay/issues/152"},"comments":{"href":"https://api.github.com/repos/andela/suyabay/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/suyabay/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/suyabay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/suyabay/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/andela/suyabay/statuses/fdccad3afaf25e17c378b9617a928c2dc64b33f7"}}}}