{"action":"created","issue":{"url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/5","labels_url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/5/comments","events_url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/5/events","html_url":"https://github.com/sorribas/handlebars-stream/pull/5","id":96206048,"number":5,"title":"Allow for use of handlebars functions","user":{"login":"ollien","id":977151,"avatar_url":"https://avatars.githubusercontent.com/u/977151?v=3","gravatar_id":"","url":"https://api.github.com/users/ollien","html_url":"https://github.com/ollien","followers_url":"https://api.github.com/users/ollien/followers","following_url":"https://api.github.com/users/ollien/following{/other_user}","gists_url":"https://api.github.com/users/ollien/gists{/gist_id}","starred_url":"https://api.github.com/users/ollien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollien/subscriptions","organizations_url":"https://api.github.com/users/ollien/orgs","repos_url":"https://api.github.com/users/ollien/repos","events_url":"https://api.github.com/users/ollien/events{/privacy}","received_events_url":"https://api.github.com/users/ollien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T01:36:11Z","updated_at":"2015-07-21T01:38:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sorribas/handlebars-stream/pulls/5","html_url":"https://github.com/sorribas/handlebars-stream/pull/5","diff_url":"https://github.com/sorribas/handlebars-stream/pull/5.diff","patch_url":"https://github.com/sorribas/handlebars-stream/pull/5.patch"},"body":"Hey there.\r\n\r\nI was using this module but was saddened by the fact that I couldn't use handlebars' other functions, like `registerHelper`. I went ahead and changed some things around. Now, module.exports is just handlebars, with the addition of the function `createTemplateStream`, which is what was used before to compile templates. For example\r\n\r\nBefore:\r\n```js\r\nhandlebars(\"Hello {{planet}}\")\r\n```js\r\nAfter:handlebars.createTemplateStream(\"Hello {{planet}}\")\r\n```\r\n\r\nHave a nice day! "},"comment":{"url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/comments/123126024","html_url":"https://github.com/sorribas/handlebars-stream/pull/5#issuecomment-123126024","issue_url":"https://api.github.com/repos/sorribas/handlebars-stream/issues/5","id":123126024,"user":{"login":"ollien","id":977151,"avatar_url":"https://avatars.githubusercontent.com/u/977151?v=3","gravatar_id":"","url":"https://api.github.com/users/ollien","html_url":"https://github.com/ollien","followers_url":"https://api.github.com/users/ollien/followers","following_url":"https://api.github.com/users/ollien/following{/other_user}","gists_url":"https://api.github.com/users/ollien/gists{/gist_id}","starred_url":"https://api.github.com/users/ollien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollien/subscriptions","organizations_url":"https://api.github.com/users/ollien/orgs","repos_url":"https://api.github.com/users/ollien/repos","events_url":"https://api.github.com/users/ollien/events{/privacy}","received_events_url":"https://api.github.com/users/ollien/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T01:38:43Z","updated_at":"2015-07-21T01:38:43Z","body":"I noticed that the tests fail, but that is due to the change of the `handlebars` function."}}