{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/67","labels_url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/67/comments","events_url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/67/events","html_url":"https://github.com/yahoo/handlebars-intl/pull/67","id":91353866,"number":67,"title":"Add function support to helpers","user":{"login":"jimf","id":413269,"avatar_url":"https://avatars.githubusercontent.com/u/413269?v=3","gravatar_id":"","url":"https://api.github.com/users/jimf","html_url":"https://github.com/jimf","followers_url":"https://api.github.com/users/jimf/followers","following_url":"https://api.github.com/users/jimf/following{/other_user}","gists_url":"https://api.github.com/users/jimf/gists{/gist_id}","starred_url":"https://api.github.com/users/jimf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimf/subscriptions","organizations_url":"https://api.github.com/users/jimf/orgs","repos_url":"https://api.github.com/users/jimf/repos","events_url":"https://api.github.com/users/jimf/events{/privacy}","received_events_url":"https://api.github.com/users/jimf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-26T20:27:09Z","updated_at":"2015-06-29T00:27:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yahoo/handlebars-intl/pulls/67","html_url":"https://github.com/yahoo/handlebars-intl/pull/67","diff_url":"https://github.com/yahoo/handlebars-intl/pull/67.diff","patch_url":"https://github.com/yahoo/handlebars-intl/pull/67.patch"},"body":"Update `formatDate`, `formatTime`, `formatRelative`, `formatNumber`, and\r\n`formatMessage` to allow for their primary argument to be specified as a\r\nfunction that returns the required argument type."},"comment":{"url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/comments/116362922","html_url":"https://github.com/yahoo/handlebars-intl/pull/67#issuecomment-116362922","issue_url":"https://api.github.com/repos/yahoo/handlebars-intl/issues/67","id":116362922,"user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T00:27:28Z","updated_at":"2015-06-29T00:27:28Z","body":"I will like @ericf to chime in. I really don't like that pattern, just like I don't like these helpers to support a path to resolve a message, etc.\r\n\r\nAs a side note: those check for `function` type are not enough, you need something better to truly detect functions."}}