{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/60600450","id":60600450,"diff_hunk":"@@ -1,29 +1,42 @@\n /**\n  * Created by championswimmer on 29/5/15.\n  */\n+(function () {\n \n-var commonFactories = angular.module('openevent');\n+\"use strict\";\n+const commonFactories = angular.module(\"openevent\");\n+\n+commonFactories.factory(\"ApiJsonFactory\", [\"$q\", \"$http\", function ($q, $http) {\n+\n+var baseUrl = (config.use_testApi ? \"testapi/\" : config.apiBaseGetUrl) + \"event/\" + config.eventId;","path":"src/appComponents/common/ApiJsonFactory.js","position":12,"original_position":12,"commit_id":"b6df16cb933218ce9c6d406f015a3f584a3c2431","original_commit_id":"b6df16cb933218ce9c6d406f015a3f584a3c2431","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long.<br>Identifier 'use_testApi' is not in camel case.<br>'config' is not defined.","created_at":"2016-04-21T15:21:50Z","updated_at":"2016-04-21T15:21:50Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/183#discussion_r60600450","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/60600450"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/183#discussion_r60600450"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183","id":67368537,"html_url":"https://github.com/fossasia/open-event-webapp/pull/183","diff_url":"https://github.com/fossasia/open-event-webapp/pull/183.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/183.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/183","number":183,"state":"open","locked":false,"title":"Codacy issues set7","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-21T14:57:02Z","updated_at":"2016-04-21T15:21:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cab4b94b45261311082fe7bdbe6c411add8ef49","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/183/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/b6df16cb933218ce9c6d406f015a3f584a3c2431","head":{"label":"aayusharora:codacy_issues","ref":"codacy_issues","sha":"b6df16cb933218ce9c6d406f015a3f584a3c2431","user":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"repo":{"id":52630023,"name":"open-event-webapp","full_name":"aayusharora/open-event-webapp","owner":{"login":"aayusharora","id":12194719,"avatar_url":"https://avatars.githubusercontent.com/u/12194719?v=3","gravatar_id":"","url":"https://api.github.com/users/aayusharora","html_url":"https://github.com/aayusharora","followers_url":"https://api.github.com/users/aayusharora/followers","following_url":"https://api.github.com/users/aayusharora/following{/other_user}","gists_url":"https://api.github.com/users/aayusharora/gists{/gist_id}","starred_url":"https://api.github.com/users/aayusharora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aayusharora/subscriptions","organizations_url":"https://api.github.com/users/aayusharora/orgs","repos_url":"https://api.github.com/users/aayusharora/repos","events_url":"https://api.github.com/users/aayusharora/events{/privacy}","received_events_url":"https://api.github.com/users/aayusharora/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aayusharora/open-event-webapp","description":"Open Event Webapp","fork":true,"url":"https://api.github.com/repos/aayusharora/open-event-webapp","forks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/forks","keys_url":"https://api.github.com/repos/aayusharora/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aayusharora/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aayusharora/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/aayusharora/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/aayusharora/open-event-webapp/events","assignees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/aayusharora/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aayusharora/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/aayusharora/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/aayusharora/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/aayusharora/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/aayusharora/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/aayusharora/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aayusharora/open-event-webapp/merges","archive_url":"https://api.github.com/repos/aayusharora/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aayusharora/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/aayusharora/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/aayusharora/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/aayusharora/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/aayusharora/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aayusharora/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/aayusharora/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/aayusharora/open-event-webapp/deployments","created_at":"2016-02-26T20:13:33Z","updated_at":"2016-03-02T10:20:50Z","pushed_at":"2016-04-21T15:21:32Z","git_url":"git://github.com/aayusharora/open-event-webapp.git","ssh_url":"git@github.com:aayusharora/open-event-webapp.git","clone_url":"https://github.com/aayusharora/open-event-webapp.git","svn_url":"https://github.com/aayusharora/open-event-webapp","homepage":null,"size":1766,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"fossasia:master","ref":"master","sha":"bcbd99087570d5c86a2e2e39515e4433909e7216","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":35269905,"name":"open-event-webapp","full_name":"fossasia/open-event-webapp","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars.githubusercontent.com/u/6295529?v=3","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-webapp","description":"Open Event Webapp","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-webapp","forks_url":"https://api.github.com/repos/fossasia/open-event-webapp/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-webapp/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-webapp/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-webapp/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-webapp/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-webapp/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-webapp/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-webapp/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-webapp/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-webapp/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-webapp/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-webapp/deployments","created_at":"2015-05-08T09:11:00Z","updated_at":"2016-03-26T12:11:03Z","pushed_at":"2016-04-21T15:21:32Z","git_url":"git://github.com/fossasia/open-event-webapp.git","ssh_url":"git@github.com:fossasia/open-event-webapp.git","clone_url":"https://github.com/fossasia/open-event-webapp.git","svn_url":"https://github.com/fossasia/open-event-webapp","homepage":null,"size":2049,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":57,"mirror_url":null,"open_issues_count":34,"forks":57,"open_issues":34,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/183"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/183"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/b6df16cb933218ce9c6d406f015a3f584a3c2431"}}}}