{"action":"created","issue":{"url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/656","labels_url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/656/comments","events_url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/656/events","html_url":"https://github.com/WorldBank-Transport/open-transit-indicators/pull/656","id":93826390,"number":656,"title":"Fix problem with geotiff downloads","user":{"login":"kshepard","id":6386,"avatar_url":"https://avatars.githubusercontent.com/u/6386?v=3","gravatar_id":"","url":"https://api.github.com/users/kshepard","html_url":"https://github.com/kshepard","followers_url":"https://api.github.com/users/kshepard/followers","following_url":"https://api.github.com/users/kshepard/following{/other_user}","gists_url":"https://api.github.com/users/kshepard/gists{/gist_id}","starred_url":"https://api.github.com/users/kshepard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshepard/subscriptions","organizations_url":"https://api.github.com/users/kshepard/orgs","repos_url":"https://api.github.com/users/kshepard/repos","events_url":"https://api.github.com/users/kshepard/events{/privacy}","received_events_url":"https://api.github.com/users/kshepard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-08T16:00:45Z","updated_at":"2015-07-08T16:10:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/pulls/656","html_url":"https://github.com/WorldBank-Transport/open-transit-indicators/pull/656","diff_url":"https://github.com/WorldBank-Transport/open-transit-indicators/pull/656.diff","patch_url":"https://github.com/WorldBank-Transport/open-transit-indicators/pull/656.patch"},"body":"Switched to match rather than endsWith, because endsWith isn't\r\ncross-browser compatible and doesn't work in Chrome."},"comment":{"url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/comments/119640907","html_url":"https://github.com/WorldBank-Transport/open-transit-indicators/pull/656#issuecomment-119640907","issue_url":"https://api.github.com/repos/WorldBank-Transport/open-transit-indicators/issues/656","id":119640907,"user":{"login":"CloudNiner","id":1818302,"avatar_url":"https://avatars.githubusercontent.com/u/1818302?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudNiner","html_url":"https://github.com/CloudNiner","followers_url":"https://api.github.com/users/CloudNiner/followers","following_url":"https://api.github.com/users/CloudNiner/following{/other_user}","gists_url":"https://api.github.com/users/CloudNiner/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudNiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudNiner/subscriptions","organizations_url":"https://api.github.com/users/CloudNiner/orgs","repos_url":"https://api.github.com/users/CloudNiner/repos","events_url":"https://api.github.com/users/CloudNiner/events{/privacy}","received_events_url":"https://api.github.com/users/CloudNiner/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T16:10:48Z","updated_at":"2015-07-08T16:10:48Z","body":"Good catch, in the future always check browser compatibility, and only use functions that are fully supported by all browsers.\r\n\r\nMozilla's MDN docs are great for this, for example, scroll to the 'Browser Compatibility' section here:\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith\r\n\r\nYou can usually get what you're looking for as a first result with a search result like: 'javascript mdn <function name>'"}}