{"action":"closed","issue":{"url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/530","repository_url":"https://api.github.com/repos/tomchentw/react-google-maps","labels_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/530/comments","events_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/530/events","html_url":"https://github.com/tomchentw/react-google-maps/issues/530","id":239161656,"number":530,"title":"Uncaught TypeError: Cannot read property 'apply' of undefined","user":{"login":"aaaristo","id":282520,"avatar_url":"https://avatars3.githubusercontent.com/u/282520?v=4","gravatar_id":"","url":"https://api.github.com/users/aaaristo","html_url":"https://github.com/aaaristo","followers_url":"https://api.github.com/users/aaaristo/followers","following_url":"https://api.github.com/users/aaaristo/following{/other_user}","gists_url":"https://api.github.com/users/aaaristo/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaristo/subscriptions","organizations_url":"https://api.github.com/users/aaaristo/orgs","repos_url":"https://api.github.com/users/aaaristo/repos","events_url":"https://api.github.com/users/aaaristo/events{/privacy}","received_events_url":"https://api.github.com/users/aaaristo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"oshalygin","id":7675942,"avatar_url":"https://avatars3.githubusercontent.com/u/7675942?v=4","gravatar_id":"","url":"https://api.github.com/users/oshalygin","html_url":"https://github.com/oshalygin","followers_url":"https://api.github.com/users/oshalygin/followers","following_url":"https://api.github.com/users/oshalygin/following{/other_user}","gists_url":"https://api.github.com/users/oshalygin/gists{/gist_id}","starred_url":"https://api.github.com/users/oshalygin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oshalygin/subscriptions","organizations_url":"https://api.github.com/users/oshalygin/orgs","repos_url":"https://api.github.com/users/oshalygin/repos","events_url":"https://api.github.com/users/oshalygin/events{/privacy}","received_events_url":"https://api.github.com/users/oshalygin/received_events","type":"User","site_admin":false},"assignees":[{"login":"oshalygin","id":7675942,"avatar_url":"https://avatars3.githubusercontent.com/u/7675942?v=4","gravatar_id":"","url":"https://api.github.com/users/oshalygin","html_url":"https://github.com/oshalygin","followers_url":"https://api.github.com/users/oshalygin/followers","following_url":"https://api.github.com/users/oshalygin/following{/other_user}","gists_url":"https://api.github.com/users/oshalygin/gists{/gist_id}","starred_url":"https://api.github.com/users/oshalygin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oshalygin/subscriptions","organizations_url":"https://api.github.com/users/oshalygin/orgs","repos_url":"https://api.github.com/users/oshalygin/repos","events_url":"https://api.github.com/users/oshalygin/events{/privacy}","received_events_url":"https://api.github.com/users/oshalygin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-06-28T13:20:24Z","updated_at":"2017-09-14T02:29:41Z","closed_at":"2017-09-14T02:29:41Z","author_association":"CONTRIBUTOR","body":"The google.map library triggers this error:\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'apply' of undefined\r\n```\r\n\r\nwhen a listener exists in the props object but is undefined.\r\n\r\nMaybe we could change this line:\r\n\r\nhttps://github.com/tomchentw/react-google-maps/blob/5748a96ec61cf55f8bccaeb024be6d7737a15773/src/lib/enhanceElement.js#L44\r\n\r\nto\r\n\r\n```javascript\r\nif (typeof props[onEventName] === 'function') {\r\n```\r\n"}}
{"actor":{"display_login":"tomchentw"}}