{"action":"created","comment":{"url":"https://api.github.com/repos/APT-project/upcoming/pulls/comments/90936761","pull_request_review_id":11450169,"id":90936761,"diff_hunk":"@@ -0,0 +1,23 @@\n+(function() {\n+  'use strict';\n+\n+  angular\n+    .module('upcomingStops.event')\n+    .filter('distanceFormat', distanceFormat);\n+\n+  distanceFormat.$inject = [];\n+\n+  function distanceFormat() {\n+\n+    return function(x) {\n+      var distance;\n+      if(isNaN(x)){\n+        return;","path":"app/js/event/event.filter.js","position":15,"original_position":15,"commit_id":"cc0542b10f01285677fd13a22758efae44b2a1bc","original_commit_id":"cc0542b10f01285677fd13a22758efae44b2a1bc","user":{"login":"antti-TIEA4","id":22329344,"avatar_url":"https://avatars.githubusercontent.com/u/22329344?v=3","gravatar_id":"","url":"https://api.github.com/users/antti-TIEA4","html_url":"https://github.com/antti-TIEA4","followers_url":"https://api.github.com/users/antti-TIEA4/followers","following_url":"https://api.github.com/users/antti-TIEA4/following{/other_user}","gists_url":"https://api.github.com/users/antti-TIEA4/gists{/gist_id}","starred_url":"https://api.github.com/users/antti-TIEA4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antti-TIEA4/subscriptions","organizations_url":"https://api.github.com/users/antti-TIEA4/orgs","repos_url":"https://api.github.com/users/antti-TIEA4/repos","events_url":"https://api.github.com/users/antti-TIEA4/events{/privacy}","received_events_url":"https://api.github.com/users/antti-TIEA4/received_events","type":"User","site_admin":false},"body":"The filter should return the original value if it is not a number.\r\nIn other words, line 15 should be\r\n```\r\n        return x;\r\n```","created_at":"2016-12-05T19:25:38Z","updated_at":"2016-12-05T19:36:12Z","html_url":"https://github.com/APT-project/upcoming/pull/47#discussion_r90936761","pull_request_url":"https://api.github.com/repos/APT-project/upcoming/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/comments/90936761"},"html":{"href":"https://github.com/APT-project/upcoming/pull/47#discussion_r90936761"},"pull_request":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/APT-project/upcoming/pulls/47","id":96591442,"html_url":"https://github.com/APT-project/upcoming/pull/47","diff_url":"https://github.com/APT-project/upcoming/pull/47.diff","patch_url":"https://github.com/APT-project/upcoming/pull/47.patch","issue_url":"https://api.github.com/repos/APT-project/upcoming/issues/47","number":47,"state":"open","locked":false,"title":"update display","user":{"login":"Mxdcq","id":15731144,"avatar_url":"https://avatars.githubusercontent.com/u/15731144?v=3","gravatar_id":"","url":"https://api.github.com/users/Mxdcq","html_url":"https://github.com/Mxdcq","followers_url":"https://api.github.com/users/Mxdcq/followers","following_url":"https://api.github.com/users/Mxdcq/following{/other_user}","gists_url":"https://api.github.com/users/Mxdcq/gists{/gist_id}","starred_url":"https://api.github.com/users/Mxdcq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mxdcq/subscriptions","organizations_url":"https://api.github.com/users/Mxdcq/orgs","repos_url":"https://api.github.com/users/Mxdcq/repos","events_url":"https://api.github.com/users/Mxdcq/events{/privacy}","received_events_url":"https://api.github.com/users/Mxdcq/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-05T19:19:10Z","updated_at":"2016-12-05T19:36:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcd031151c980d48b524641d6d251d39ff20058f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/APT-project/upcoming/pulls/47/commits","review_comments_url":"https://api.github.com/repos/APT-project/upcoming/pulls/47/comments","review_comment_url":"https://api.github.com/repos/APT-project/upcoming/pulls/comments{/number}","comments_url":"https://api.github.com/repos/APT-project/upcoming/issues/47/comments","statuses_url":"https://api.github.com/repos/APT-project/upcoming/statuses/cc0542b10f01285677fd13a22758efae44b2a1bc","head":{"label":"Mxdcq:display","ref":"display","sha":"cc0542b10f01285677fd13a22758efae44b2a1bc","user":{"login":"Mxdcq","id":15731144,"avatar_url":"https://avatars.githubusercontent.com/u/15731144?v=3","gravatar_id":"","url":"https://api.github.com/users/Mxdcq","html_url":"https://github.com/Mxdcq","followers_url":"https://api.github.com/users/Mxdcq/followers","following_url":"https://api.github.com/users/Mxdcq/following{/other_user}","gists_url":"https://api.github.com/users/Mxdcq/gists{/gist_id}","starred_url":"https://api.github.com/users/Mxdcq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mxdcq/subscriptions","organizations_url":"https://api.github.com/users/Mxdcq/orgs","repos_url":"https://api.github.com/users/Mxdcq/repos","events_url":"https://api.github.com/users/Mxdcq/events{/privacy}","received_events_url":"https://api.github.com/users/Mxdcq/received_events","type":"User","site_admin":false},"repo":{"id":73861451,"name":"upcoming","full_name":"Mxdcq/upcoming","owner":{"login":"Mxdcq","id":15731144,"avatar_url":"https://avatars.githubusercontent.com/u/15731144?v=3","gravatar_id":"","url":"https://api.github.com/users/Mxdcq","html_url":"https://github.com/Mxdcq","followers_url":"https://api.github.com/users/Mxdcq/followers","following_url":"https://api.github.com/users/Mxdcq/following{/other_user}","gists_url":"https://api.github.com/users/Mxdcq/gists{/gist_id}","starred_url":"https://api.github.com/users/Mxdcq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mxdcq/subscriptions","organizations_url":"https://api.github.com/users/Mxdcq/orgs","repos_url":"https://api.github.com/users/Mxdcq/repos","events_url":"https://api.github.com/users/Mxdcq/events{/privacy}","received_events_url":"https://api.github.com/users/Mxdcq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mxdcq/upcoming","description":"Upcoming Stops","fork":true,"url":"https://api.github.com/repos/Mxdcq/upcoming","forks_url":"https://api.github.com/repos/Mxdcq/upcoming/forks","keys_url":"https://api.github.com/repos/Mxdcq/upcoming/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mxdcq/upcoming/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mxdcq/upcoming/teams","hooks_url":"https://api.github.com/repos/Mxdcq/upcoming/hooks","issue_events_url":"https://api.github.com/repos/Mxdcq/upcoming/issues/events{/number}","events_url":"https://api.github.com/repos/Mxdcq/upcoming/events","assignees_url":"https://api.github.com/repos/Mxdcq/upcoming/assignees{/user}","branches_url":"https://api.github.com/repos/Mxdcq/upcoming/branches{/branch}","tags_url":"https://api.github.com/repos/Mxdcq/upcoming/tags","blobs_url":"https://api.github.com/repos/Mxdcq/upcoming/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mxdcq/upcoming/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mxdcq/upcoming/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mxdcq/upcoming/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mxdcq/upcoming/statuses/{sha}","languages_url":"https://api.github.com/repos/Mxdcq/upcoming/languages","stargazers_url":"https://api.github.com/repos/Mxdcq/upcoming/stargazers","contributors_url":"https://api.github.com/repos/Mxdcq/upcoming/contributors","subscribers_url":"https://api.github.com/repos/Mxdcq/upcoming/subscribers","subscription_url":"https://api.github.com/repos/Mxdcq/upcoming/subscription","commits_url":"https://api.github.com/repos/Mxdcq/upcoming/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mxdcq/upcoming/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mxdcq/upcoming/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mxdcq/upcoming/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mxdcq/upcoming/contents/{+path}","compare_url":"https://api.github.com/repos/Mxdcq/upcoming/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mxdcq/upcoming/merges","archive_url":"https://api.github.com/repos/Mxdcq/upcoming/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mxdcq/upcoming/downloads","issues_url":"https://api.github.com/repos/Mxdcq/upcoming/issues{/number}","pulls_url":"https://api.github.com/repos/Mxdcq/upcoming/pulls{/number}","milestones_url":"https://api.github.com/repos/Mxdcq/upcoming/milestones{/number}","notifications_url":"https://api.github.com/repos/Mxdcq/upcoming/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mxdcq/upcoming/labels{/name}","releases_url":"https://api.github.com/repos/Mxdcq/upcoming/releases{/id}","deployments_url":"https://api.github.com/repos/Mxdcq/upcoming/deployments","created_at":"2016-11-15T22:37:06Z","updated_at":"2016-11-30T02:40:56Z","pushed_at":"2016-12-05T19:18:33Z","git_url":"git://github.com/Mxdcq/upcoming.git","ssh_url":"git@github.com:Mxdcq/upcoming.git","clone_url":"https://github.com/Mxdcq/upcoming.git","svn_url":"https://github.com/Mxdcq/upcoming","homepage":"","size":757,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"APT-project:master","ref":"master","sha":"9ab4ceb7b23e65cb58f956a475d33f22d276b645","user":{"login":"APT-project","id":22332627,"avatar_url":"https://avatars.githubusercontent.com/u/22332627?v=3","gravatar_id":"","url":"https://api.github.com/users/APT-project","html_url":"https://github.com/APT-project","followers_url":"https://api.github.com/users/APT-project/followers","following_url":"https://api.github.com/users/APT-project/following{/other_user}","gists_url":"https://api.github.com/users/APT-project/gists{/gist_id}","starred_url":"https://api.github.com/users/APT-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APT-project/subscriptions","organizations_url":"https://api.github.com/users/APT-project/orgs","repos_url":"https://api.github.com/users/APT-project/repos","events_url":"https://api.github.com/users/APT-project/events{/privacy}","received_events_url":"https://api.github.com/users/APT-project/received_events","type":"Organization","site_admin":false},"repo":{"id":69794173,"name":"upcoming","full_name":"APT-project/upcoming","owner":{"login":"APT-project","id":22332627,"avatar_url":"https://avatars.githubusercontent.com/u/22332627?v=3","gravatar_id":"","url":"https://api.github.com/users/APT-project","html_url":"https://github.com/APT-project","followers_url":"https://api.github.com/users/APT-project/followers","following_url":"https://api.github.com/users/APT-project/following{/other_user}","gists_url":"https://api.github.com/users/APT-project/gists{/gist_id}","starred_url":"https://api.github.com/users/APT-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/APT-project/subscriptions","organizations_url":"https://api.github.com/users/APT-project/orgs","repos_url":"https://api.github.com/users/APT-project/repos","events_url":"https://api.github.com/users/APT-project/events{/privacy}","received_events_url":"https://api.github.com/users/APT-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/APT-project/upcoming","description":"Upcoming Stops","fork":false,"url":"https://api.github.com/repos/APT-project/upcoming","forks_url":"https://api.github.com/repos/APT-project/upcoming/forks","keys_url":"https://api.github.com/repos/APT-project/upcoming/keys{/key_id}","collaborators_url":"https://api.github.com/repos/APT-project/upcoming/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/APT-project/upcoming/teams","hooks_url":"https://api.github.com/repos/APT-project/upcoming/hooks","issue_events_url":"https://api.github.com/repos/APT-project/upcoming/issues/events{/number}","events_url":"https://api.github.com/repos/APT-project/upcoming/events","assignees_url":"https://api.github.com/repos/APT-project/upcoming/assignees{/user}","branches_url":"https://api.github.com/repos/APT-project/upcoming/branches{/branch}","tags_url":"https://api.github.com/repos/APT-project/upcoming/tags","blobs_url":"https://api.github.com/repos/APT-project/upcoming/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/APT-project/upcoming/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/APT-project/upcoming/git/refs{/sha}","trees_url":"https://api.github.com/repos/APT-project/upcoming/git/trees{/sha}","statuses_url":"https://api.github.com/repos/APT-project/upcoming/statuses/{sha}","languages_url":"https://api.github.com/repos/APT-project/upcoming/languages","stargazers_url":"https://api.github.com/repos/APT-project/upcoming/stargazers","contributors_url":"https://api.github.com/repos/APT-project/upcoming/contributors","subscribers_url":"https://api.github.com/repos/APT-project/upcoming/subscribers","subscription_url":"https://api.github.com/repos/APT-project/upcoming/subscription","commits_url":"https://api.github.com/repos/APT-project/upcoming/commits{/sha}","git_commits_url":"https://api.github.com/repos/APT-project/upcoming/git/commits{/sha}","comments_url":"https://api.github.com/repos/APT-project/upcoming/comments{/number}","issue_comment_url":"https://api.github.com/repos/APT-project/upcoming/issues/comments{/number}","contents_url":"https://api.github.com/repos/APT-project/upcoming/contents/{+path}","compare_url":"https://api.github.com/repos/APT-project/upcoming/compare/{base}...{head}","merges_url":"https://api.github.com/repos/APT-project/upcoming/merges","archive_url":"https://api.github.com/repos/APT-project/upcoming/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/APT-project/upcoming/downloads","issues_url":"https://api.github.com/repos/APT-project/upcoming/issues{/number}","pulls_url":"https://api.github.com/repos/APT-project/upcoming/pulls{/number}","milestones_url":"https://api.github.com/repos/APT-project/upcoming/milestones{/number}","notifications_url":"https://api.github.com/repos/APT-project/upcoming/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/APT-project/upcoming/labels{/name}","releases_url":"https://api.github.com/repos/APT-project/upcoming/releases{/id}","deployments_url":"https://api.github.com/repos/APT-project/upcoming/deployments","created_at":"2016-10-02T11:41:21Z","updated_at":"2016-11-28T19:28:09Z","pushed_at":"2016-12-05T19:19:10Z","git_url":"git://github.com/APT-project/upcoming.git","ssh_url":"git@github.com:APT-project/upcoming.git","clone_url":"https://github.com/APT-project/upcoming.git","svn_url":"https://github.com/APT-project/upcoming","homepage":"","size":760,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":8,"forks":4,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/47"},"html":{"href":"https://github.com/APT-project/upcoming/pull/47"},"issue":{"href":"https://api.github.com/repos/APT-project/upcoming/issues/47"},"comments":{"href":"https://api.github.com/repos/APT-project/upcoming/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/APT-project/upcoming/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/APT-project/upcoming/statuses/cc0542b10f01285677fd13a22758efae44b2a1bc"}}}}
{"actor":{"display_login":"antti-TIEA4"}}