{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/3","repository_url":"https://api.github.com/repos/sindresorhus/auto-bind","labels_url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/3/comments","events_url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/3/events","html_url":"https://github.com/sindresorhus/auto-bind/issues/3","id":250667840,"number":3,"title":"autoBind function needs a filter method","user":{"login":"jlyonsmith","id":306467,"avatar_url":"https://avatars1.githubusercontent.com/u/306467?v=4","gravatar_id":"","url":"https://api.github.com/users/jlyonsmith","html_url":"https://github.com/jlyonsmith","followers_url":"https://api.github.com/users/jlyonsmith/followers","following_url":"https://api.github.com/users/jlyonsmith/following{/other_user}","gists_url":"https://api.github.com/users/jlyonsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jlyonsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlyonsmith/subscriptions","organizations_url":"https://api.github.com/users/jlyonsmith/orgs","repos_url":"https://api.github.com/users/jlyonsmith/repos","events_url":"https://api.github.com/users/jlyonsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jlyonsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-16T15:27:11Z","updated_at":"2017-08-18T07:41:28Z","closed_at":null,"body":"Thanks for creating this project.  I see that there has been at least one fork that added React specific filters when choosing which methods to bind.  I'd really like to make this a more general purpose mechanism.  For example, if you just wanted to bind all methods that started with the word `handle` which is the convention that I use for event handler methods in React apps. I propose:\r\n\r\n1. Adding an optional filter method parameter that allows custom filtering of the bind\r\n2. Adding a predefined filter function to exclude standard React methods.\r\n\r\nNeither of these additions would affect current users in any way.  If I prepared a PR would you be interested in merging it?"},"comment":{"url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/comments/323283605","html_url":"https://github.com/sindresorhus/auto-bind/issues/3#issuecomment-323283605","issue_url":"https://api.github.com/repos/sindresorhus/auto-bind/issues/3","id":323283605,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T07:41:28Z","updated_at":"2017-08-18T07:41:28Z","body":"Sure, PR welcome :)"}}
{"actor":{"display_login":"sindresorhus"}}