{"action":"created","issue":{"url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/5","repository_url":"https://api.github.com/repos/jsreport/jsreport-xlsx","labels_url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/5/comments","events_url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/5/events","html_url":"https://github.com/jsreport/jsreport-xlsx/issues/5","id":173187813,"number":5,"title":"Method of include for `helpers.js` appears to conflict with native helpers","user":{"login":"danielsharvey","id":12858056,"avatar_url":"https://avatars.githubusercontent.com/u/12858056?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsharvey","html_url":"https://github.com/danielsharvey","followers_url":"https://api.github.com/users/danielsharvey/followers","following_url":"https://api.github.com/users/danielsharvey/following{/other_user}","gists_url":"https://api.github.com/users/danielsharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsharvey/subscriptions","organizations_url":"https://api.github.com/users/danielsharvey/orgs","repos_url":"https://api.github.com/users/danielsharvey/repos","events_url":"https://api.github.com/users/danielsharvey/events{/privacy}","received_events_url":"https://api.github.com/users/danielsharvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T12:18:26Z","updated_at":"2016-08-25T12:23:42Z","closed_at":null,"body":"The method of including the XLSX helpers in `lib/index.js` appears to conflict with native helpers - appending a string and an object breaks the render.\r\n\r\n```\r\nreturn FS.readFileAsync(_path2.default.join(__dirname, '../', 'static', 'helpers.js'), 'utf8').then(function (content) {\r\n        return req.template.helpers = content + '\\n' + (req.template.helpers || '');\r\n});\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/comments/242367062","html_url":"https://github.com/jsreport/jsreport-xlsx/issues/5#issuecomment-242367062","issue_url":"https://api.github.com/repos/jsreport/jsreport-xlsx/issues/5","id":242367062,"user":{"login":"pofider","id":2041960,"avatar_url":"https://avatars.githubusercontent.com/u/2041960?v=3","gravatar_id":"","url":"https://api.github.com/users/pofider","html_url":"https://github.com/pofider","followers_url":"https://api.github.com/users/pofider/followers","following_url":"https://api.github.com/users/pofider/following{/other_user}","gists_url":"https://api.github.com/users/pofider/gists{/gist_id}","starred_url":"https://api.github.com/users/pofider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pofider/subscriptions","organizations_url":"https://api.github.com/users/pofider/orgs","repos_url":"https://api.github.com/users/pofider/repos","events_url":"https://api.github.com/users/pofider/events{/privacy}","received_events_url":"https://api.github.com/users/pofider/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T12:23:42Z","updated_at":"2016-08-25T12:23:42Z","body":"It should not, look here https://playground.jsreport.net/studio/workspace/r1vaurbw/12\r\n\r\nMaybe you are setting helpers as object? Like this?\r\n\r\n```js\r\n{\r\n  myHelper: function () {\r\n  }\r\n}\r\n```\r\n\r\nNote that helpers should be registered as global functions:\r\n```js\r\nfunction myHelper() {\r\n}\r\n```\r\n\r\n"}}
{"actor":{"display_login":"pofider"}}