{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/821","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/821/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/821/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/821/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/821","id":88017554,"number":821,"title":"createChainedFunction improvements","user":{"login":"mtscout6","id":736870,"avatar_url":"https://avatars.githubusercontent.com/u/736870?v=3","gravatar_id":"","url":"https://api.github.com/users/mtscout6","html_url":"https://github.com/mtscout6","followers_url":"https://api.github.com/users/mtscout6/followers","following_url":"https://api.github.com/users/mtscout6/following{/other_user}","gists_url":"https://api.github.com/users/mtscout6/gists{/gist_id}","starred_url":"https://api.github.com/users/mtscout6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtscout6/subscriptions","organizations_url":"https://api.github.com/users/mtscout6/orgs","repos_url":"https://api.github.com/users/mtscout6/repos","events_url":"https://api.github.com/users/mtscout6/events{/privacy}","received_events_url":"https://api.github.com/users/mtscout6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-06-13T15:04:52Z","updated_at":"2015-06-14T19:53:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/821","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/821","diff_url":"https://github.com/react-bootstrap/react-bootstrap/pull/821.diff","patch_url":"https://github.com/react-bootstrap/react-bootstrap/pull/821.patch"},"body":"Changes `createChainedFunction` to chain many functions, and to throw if non-functions are provided.\r\n\r\nReasons I'm proposing this to master and not `v0.24.0-rc`:\r\n\r\n- This works against all our existing usage of the function\r\n- Not throwing before sounds like a bug to me\r\n\r\n@jtenner ~~this introduces that improved function type check you proposed on gitter~~ There is a test proving this wasn't necessary.\r\n@taion it's going to throw now when something other than a func is provided, as you proposed on gitter."},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/111870355","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/821#issuecomment-111870355","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/821","id":111870355,"user":{"login":"AlexKVal","id":847572,"avatar_url":"https://avatars.githubusercontent.com/u/847572?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexKVal","html_url":"https://github.com/AlexKVal","followers_url":"https://api.github.com/users/AlexKVal/followers","following_url":"https://api.github.com/users/AlexKVal/following{/other_user}","gists_url":"https://api.github.com/users/AlexKVal/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKVal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKVal/subscriptions","organizations_url":"https://api.github.com/users/AlexKVal/orgs","repos_url":"https://api.github.com/users/AlexKVal/repos","events_url":"https://api.github.com/users/AlexKVal/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKVal/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T19:53:44Z","updated_at":"2015-06-14T19:53:44Z","body":"As for the code: LGTM\r\nby `(...funcs)` we always got an array and can use `.reduce()`. Nice. :sparkle: \r\n\r\n--\r\n`'herpa derpa'` is kinda Matt's brand in tests :smile: "}}