{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/comments/173665219","pull_request_review_id":102891547,"id":173665219,"diff_hunk":"@@ -110,7 +108,7 @@ function setStyle(style)\n \t// helper variable for saving current map style\n \trailmap.selectedStyle = style;\n \t// change tileserver url to load different style\n-\trailmap._url = tiledir+style+'/{z}/{x}/{y}.png';\n+\trailmap._url = window.openrailwaymap.tiledir+style+'/{z}/{x}/{y}.png';","path":"js/bitmap-map.js","position":201,"original_position":186,"commit_id":"181b1439caa2ebf03d0abd6b3674c3a5f763bf3f","original_commit_id":"8b95b3c8b0f775005ce7dec09a829902f3efc459","user":{"login":"DerDakon","id":10909049,"avatar_url":"https://avatars1.githubusercontent.com/u/10909049?v=4","gravatar_id":"","url":"https://api.github.com/users/DerDakon","html_url":"https://github.com/DerDakon","followers_url":"https://api.github.com/users/DerDakon/followers","following_url":"https://api.github.com/users/DerDakon/following{/other_user}","gists_url":"https://api.github.com/users/DerDakon/gists{/gist_id}","starred_url":"https://api.github.com/users/DerDakon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerDakon/subscriptions","organizations_url":"https://api.github.com/users/DerDakon/orgs","repos_url":"https://api.github.com/users/DerDakon/repos","events_url":"https://api.github.com/users/DerDakon/events{/privacy}","received_events_url":"https://api.github.com/users/DerDakon/received_events","type":"User","site_admin":false},"body":"when you touch the line anyway, how about some spaces around the operators?","created_at":"2018-03-11T18:57:14Z","updated_at":"2018-03-11T19:03:35Z","html_url":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604#discussion_r173665219","pull_request_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/comments/173665219"},"html":{"href":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604#discussion_r173665219"},"pull_request":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604","id":172731831,"html_url":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604","diff_url":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604.diff","patch_url":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604.patch","issue_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/604","number":604,"state":"open","locked":false,"title":"Added client side i18n, remove timestamp API and generate last update date on client side","user":{"login":"rurseekatze","id":931928,"avatar_url":"https://avatars3.githubusercontent.com/u/931928?v=4","gravatar_id":"","url":"https://api.github.com/users/rurseekatze","html_url":"https://github.com/rurseekatze","followers_url":"https://api.github.com/users/rurseekatze/followers","following_url":"https://api.github.com/users/rurseekatze/following{/other_user}","gists_url":"https://api.github.com/users/rurseekatze/gists{/gist_id}","starred_url":"https://api.github.com/users/rurseekatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rurseekatze/subscriptions","organizations_url":"https://api.github.com/users/rurseekatze/orgs","repos_url":"https://api.github.com/users/rurseekatze/repos","events_url":"https://api.github.com/users/rurseekatze/events{/privacy}","received_events_url":"https://api.github.com/users/rurseekatze/received_events","type":"User","site_admin":false},"body":"A summary of the changes:\r\n* Convert gettext .po files to JSON with the tool pojson, so that they can be used in clientside code, remove jstranslations.php\r\n* Remove timestamp.php, fetch directly the timestamp file and generate the human-readble string on client side\r\n\r\nThis branch is checked out on https://dev.openrailwaymap.org/, you can test the code.","created_at":"2018-03-04T17:56:36Z","updated_at":"2018-03-11T19:03:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9779afae1b6ea45dac3fdd931234e71be2dcd7af","assignee":{"login":"rurseekatze","id":931928,"avatar_url":"https://avatars3.githubusercontent.com/u/931928?v=4","gravatar_id":"","url":"https://api.github.com/users/rurseekatze","html_url":"https://github.com/rurseekatze","followers_url":"https://api.github.com/users/rurseekatze/followers","following_url":"https://api.github.com/users/rurseekatze/following{/other_user}","gists_url":"https://api.github.com/users/rurseekatze/gists{/gist_id}","starred_url":"https://api.github.com/users/rurseekatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rurseekatze/subscriptions","organizations_url":"https://api.github.com/users/rurseekatze/orgs","repos_url":"https://api.github.com/users/rurseekatze/repos","events_url":"https://api.github.com/users/rurseekatze/events{/privacy}","received_events_url":"https://api.github.com/users/rurseekatze/received_events","type":"User","site_admin":false},"assignees":[{"login":"rurseekatze","id":931928,"avatar_url":"https://avatars3.githubusercontent.com/u/931928?v=4","gravatar_id":"","url":"https://api.github.com/users/rurseekatze","html_url":"https://github.com/rurseekatze","followers_url":"https://api.github.com/users/rurseekatze/followers","following_url":"https://api.github.com/users/rurseekatze/following{/other_user}","gists_url":"https://api.github.com/users/rurseekatze/gists{/gist_id}","starred_url":"https://api.github.com/users/rurseekatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rurseekatze/subscriptions","organizations_url":"https://api.github.com/users/rurseekatze/orgs","repos_url":"https://api.github.com/users/rurseekatze/repos","events_url":"https://api.github.com/users/rurseekatze/events{/privacy}","received_events_url":"https://api.github.com/users/rurseekatze/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"Nakaner","id":3611273,"avatar_url":"https://avatars1.githubusercontent.com/u/3611273?v=4","gravatar_id":"","url":"https://api.github.com/users/Nakaner","html_url":"https://github.com/Nakaner","followers_url":"https://api.github.com/users/Nakaner/followers","following_url":"https://api.github.com/users/Nakaner/following{/other_user}","gists_url":"https://api.github.com/users/Nakaner/gists{/gist_id}","starred_url":"https://api.github.com/users/Nakaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nakaner/subscriptions","organizations_url":"https://api.github.com/users/Nakaner/orgs","repos_url":"https://api.github.com/users/Nakaner/repos","events_url":"https://api.github.com/users/Nakaner/events{/privacy}","received_events_url":"https://api.github.com/users/Nakaner/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":54218808,"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/labels/API%20and%20Search","name":"API and Search","color":"aaaaaa","default":false},{"id":50168295,"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/labels/Website","name":"Website","color":"c7def8","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604/commits","review_comments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604/comments","review_comment_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/604/comments","statuses_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/statuses/181b1439caa2ebf03d0abd6b3674c3a5f763bf3f","head":{"label":"OpenRailwayMap:api-cleanup","ref":"api-cleanup","sha":"181b1439caa2ebf03d0abd6b3674c3a5f763bf3f","user":{"login":"OpenRailwayMap","id":7859012,"avatar_url":"https://avatars1.githubusercontent.com/u/7859012?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRailwayMap","html_url":"https://github.com/OpenRailwayMap","followers_url":"https://api.github.com/users/OpenRailwayMap/followers","following_url":"https://api.github.com/users/OpenRailwayMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenRailwayMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRailwayMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRailwayMap/subscriptions","organizations_url":"https://api.github.com/users/OpenRailwayMap/orgs","repos_url":"https://api.github.com/users/OpenRailwayMap/repos","events_url":"https://api.github.com/users/OpenRailwayMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRailwayMap/received_events","type":"Organization","site_admin":false},"repo":{"id":2918806,"name":"OpenRailwayMap","full_name":"OpenRailwayMap/OpenRailwayMap","owner":{"login":"OpenRailwayMap","id":7859012,"avatar_url":"https://avatars1.githubusercontent.com/u/7859012?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRailwayMap","html_url":"https://github.com/OpenRailwayMap","followers_url":"https://api.github.com/users/OpenRailwayMap/followers","following_url":"https://api.github.com/users/OpenRailwayMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenRailwayMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRailwayMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRailwayMap/subscriptions","organizations_url":"https://api.github.com/users/OpenRailwayMap/orgs","repos_url":"https://api.github.com/users/OpenRailwayMap/repos","events_url":"https://api.github.com/users/OpenRailwayMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRailwayMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRailwayMap/OpenRailwayMap","description":"An OpenStreetMap-based project for creating a map of the world's railway infrastructure.","fork":false,"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap","forks_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/forks","keys_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/teams","hooks_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/hooks","issue_events_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/events","assignees_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/tags","blobs_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/languages","stargazers_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/stargazers","contributors_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/contributors","subscribers_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/subscribers","subscription_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/subscription","commits_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/merges","archive_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/downloads","issues_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/labels{/name}","releases_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/releases{/id}","deployments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/deployments","created_at":"2011-12-05T18:22:30Z","updated_at":"2018-03-08T10:08:56Z","pushed_at":"2018-03-11T17:58:09Z","git_url":"git://github.com/OpenRailwayMap/OpenRailwayMap.git","ssh_url":"git@github.com:OpenRailwayMap/OpenRailwayMap.git","clone_url":"https://github.com/OpenRailwayMap/OpenRailwayMap.git","svn_url":"https://github.com/OpenRailwayMap/OpenRailwayMap","homepage":"http://www.openrailwaymap.org/","size":7949,"stargazers_count":57,"watchers_count":57,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":128,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":27,"open_issues":128,"watchers":57,"default_branch":"master"}},"base":{"label":"OpenRailwayMap:master","ref":"master","sha":"b61a524b6718c2108304ad16955fea5356e79532","user":{"login":"OpenRailwayMap","id":7859012,"avatar_url":"https://avatars1.githubusercontent.com/u/7859012?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRailwayMap","html_url":"https://github.com/OpenRailwayMap","followers_url":"https://api.github.com/users/OpenRailwayMap/followers","following_url":"https://api.github.com/users/OpenRailwayMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenRailwayMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRailwayMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRailwayMap/subscriptions","organizations_url":"https://api.github.com/users/OpenRailwayMap/orgs","repos_url":"https://api.github.com/users/OpenRailwayMap/repos","events_url":"https://api.github.com/users/OpenRailwayMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRailwayMap/received_events","type":"Organization","site_admin":false},"repo":{"id":2918806,"name":"OpenRailwayMap","full_name":"OpenRailwayMap/OpenRailwayMap","owner":{"login":"OpenRailwayMap","id":7859012,"avatar_url":"https://avatars1.githubusercontent.com/u/7859012?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenRailwayMap","html_url":"https://github.com/OpenRailwayMap","followers_url":"https://api.github.com/users/OpenRailwayMap/followers","following_url":"https://api.github.com/users/OpenRailwayMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenRailwayMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRailwayMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRailwayMap/subscriptions","organizations_url":"https://api.github.com/users/OpenRailwayMap/orgs","repos_url":"https://api.github.com/users/OpenRailwayMap/repos","events_url":"https://api.github.com/users/OpenRailwayMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRailwayMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRailwayMap/OpenRailwayMap","description":"An OpenStreetMap-based project for creating a map of the world's railway infrastructure.","fork":false,"url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap","forks_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/forks","keys_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/teams","hooks_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/hooks","issue_events_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/events","assignees_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/tags","blobs_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/languages","stargazers_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/stargazers","contributors_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/contributors","subscribers_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/subscribers","subscription_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/subscription","commits_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/merges","archive_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/downloads","issues_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/labels{/name}","releases_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/releases{/id}","deployments_url":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/deployments","created_at":"2011-12-05T18:22:30Z","updated_at":"2018-03-08T10:08:56Z","pushed_at":"2018-03-11T17:58:09Z","git_url":"git://github.com/OpenRailwayMap/OpenRailwayMap.git","ssh_url":"git@github.com:OpenRailwayMap/OpenRailwayMap.git","clone_url":"https://github.com/OpenRailwayMap/OpenRailwayMap.git","svn_url":"https://github.com/OpenRailwayMap/OpenRailwayMap","homepage":"http://www.openrailwaymap.org/","size":7949,"stargazers_count":57,"watchers_count":57,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":128,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":27,"open_issues":128,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604"},"html":{"href":"https://github.com/OpenRailwayMap/OpenRailwayMap/pull/604"},"issue":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/604"},"comments":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/issues/604/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/pulls/604/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRailwayMap/OpenRailwayMap/statuses/181b1439caa2ebf03d0abd6b3674c3a5f763bf3f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"DerDakon"}}