{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/37802309","id":37802309,"diff_hunk":"@@ -31,4 +31,19 @@ DateUtils.DateDiff = {\n         }\n };\n \n+function SortUtils () {}\n+\n+SortUtils.sortBy = function(field, reverse, primer){\n+\n+        var key = primer ?\n+            function(x) {return primer(x[field])} :\n+            function(x) {return x[field]};","path":"assets/js/Utils.js","position":10,"original_position":10,"commit_id":"527703ebec97557490ed4283ecc7f452bd19b067","original_commit_id":"527703ebec97557490ed4283ecc7f452bd19b067","user":{"login":"championswimmer","id":1327050,"avatar_url":"https://avatars.githubusercontent.com/u/1327050?v=3","gravatar_id":"","url":"https://api.github.com/users/championswimmer","html_url":"https://github.com/championswimmer","followers_url":"https://api.github.com/users/championswimmer/followers","following_url":"https://api.github.com/users/championswimmer/following{/other_user}","gists_url":"https://api.github.com/users/championswimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/championswimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/championswimmer/subscriptions","organizations_url":"https://api.github.com/users/championswimmer/orgs","repos_url":"https://api.github.com/users/championswimmer/repos","events_url":"https://api.github.com/users/championswimmer/events{/privacy}","received_events_url":"https://api.github.com/users/championswimmer/received_events","type":"User","site_admin":false},"body":"This is a ternary operator, and the semicolon is present where it needs to be","created_at":"2015-08-24T20:46:18Z","updated_at":"2015-08-24T20:46:18Z","html_url":"https://github.com/fossasia/open-event-webapp/pull/66#discussion_r37802309","pull_request_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/comments/37802309"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/66#discussion_r37802309"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66","id":43219382,"html_url":"https://github.com/fossasia/open-event-webapp/pull/66","diff_url":"https://github.com/fossasia/open-event-webapp/pull/66.diff","patch_url":"https://github.com/fossasia/open-event-webapp/pull/66.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-webapp/issues/66","number":66,"state":"open","locked":false,"title":"Update testapi","user":{"login":"championswimmer","id":1327050,"avatar_url":"https://avatars.githubusercontent.com/u/1327050?v=3","gravatar_id":"","url":"https://api.github.com/users/championswimmer","html_url":"https://github.com/championswimmer","followers_url":"https://api.github.com/users/championswimmer/followers","following_url":"https://api.github.com/users/championswimmer/following{/other_user}","gists_url":"https://api.github.com/users/championswimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/championswimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/championswimmer/subscriptions","organizations_url":"https://api.github.com/users/championswimmer/orgs","repos_url":"https://api.github.com/users/championswimmer/repos","events_url":"https://api.github.com/users/championswimmer/events{/privacy}","received_events_url":"https://api.github.com/users/championswimmer/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-24T20:44:08Z","updated_at":"2015-08-24T20:46:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"005632387d7384466bea9f3ed77e9f83566c24d7","assignee":{"login":"creativepsyco","id":547235,"avatar_url":"https://avatars.githubusercontent.com/u/547235?v=3","gravatar_id":"","url":"https://api.github.com/users/creativepsyco","html_url":"https://github.com/creativepsyco","followers_url":"https://api.github.com/users/creativepsyco/followers","following_url":"https://api.github.com/users/creativepsyco/following{/other_user}","gists_url":"https://api.github.com/users/creativepsyco/gists{/gist_id}","starred_url":"https://api.github.com/users/creativepsyco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creativepsyco/subscriptions","organizations_url":"https://api.github.com/users/creativepsyco/orgs","repos_url":"https://api.github.com/users/creativepsyco/repos","events_url":"https://api.github.com/users/creativepsyco/events{/privacy}","received_events_url":"https://api.github.com/users/creativepsyco/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66/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/66/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/527703ebec97557490ed4283ecc7f452bd19b067","head":{"label":"fossasia:update_testapi","ref":"update_testapi","sha":"527703ebec97557490ed4283ecc7f452bd19b067","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}","created_at":"2015-05-08T09:11:00Z","updated_at":"2015-07-27T16:00:09Z","pushed_at":"2015-08-24T20:44:44Z","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":2831,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":3,"default_branch":"master"}},"base":{"label":"fossasia:master","ref":"master","sha":"1be86f66cd20963ea4bbe70148425330f44ed898","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}","created_at":"2015-05-08T09:11:00Z","updated_at":"2015-07-27T16:00:09Z","pushed_at":"2015-08-24T20:44:44Z","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":2831,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66"},"html":{"href":"https://github.com/fossasia/open-event-webapp/pull/66"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/66"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/pulls/66/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/66/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-webapp/statuses/527703ebec97557490ed4283ecc7f452bd19b067"}}}}