{"action":"created","issue":{"url":"https://api.github.com/repos/jonschlinkert/template/issues/6","labels_url":"https://api.github.com/repos/jonschlinkert/template/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jonschlinkert/template/issues/6/comments","events_url":"https://api.github.com/repos/jonschlinkert/template/issues/6/events","html_url":"https://github.com/jonschlinkert/template/issues/6","id":48888523,"number":6,"title":"helper options","user":{"login":"jonschlinkert","id":383994,"avatar_url":"https://avatars.githubusercontent.com/u/383994?v=3","gravatar_id":"","url":"https://api.github.com/users/jonschlinkert","html_url":"https://github.com/jonschlinkert","followers_url":"https://api.github.com/users/jonschlinkert/followers","following_url":"https://api.github.com/users/jonschlinkert/following{/other_user}","gists_url":"https://api.github.com/users/jonschlinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/jonschlinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonschlinkert/subscriptions","organizations_url":"https://api.github.com/users/jonschlinkert/orgs","repos_url":"https://api.github.com/users/jonschlinkert/repos","events_url":"https://api.github.com/users/jonschlinkert/events{/privacy}","received_events_url":"https://api.github.com/users/jonschlinkert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-15T08:55:53Z","updated_at":"2015-02-17T17:33:54Z","closed_at":null,"body":"I think we need to have an option or property somewhere dedicated to _helper options_.\r\n\r\nCurrently we're just winging it:\r\n\r\n```js\r\nvar extend = require('extend-shallow');\r\n\r\ntemplate.helper('foo', function (options) {\r\n  var opts = extend({}, this.app.options, options);\r\n  // do stuff\r\n});\r\n```\r\n\r\nIt's awesome how easy it is to pass options to helpers, but those options shouldn't be mixed in with the general/global options.\r\n\r\nOf course, any helper author can namespace the helper's options however they see fit, but I'd really prefer to have a convention for doing it. "},"comment":{"url":"https://api.github.com/repos/jonschlinkert/template/issues/comments/74711760","html_url":"https://github.com/jonschlinkert/template/issues/6#issuecomment-74711760","issue_url":"https://api.github.com/repos/jonschlinkert/template/issues/6","id":74711760,"user":{"login":"doowb","id":995160,"avatar_url":"https://avatars.githubusercontent.com/u/995160?v=3","gravatar_id":"","url":"https://api.github.com/users/doowb","html_url":"https://github.com/doowb","followers_url":"https://api.github.com/users/doowb/followers","following_url":"https://api.github.com/users/doowb/following{/other_user}","gists_url":"https://api.github.com/users/doowb/gists{/gist_id}","starred_url":"https://api.github.com/users/doowb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doowb/subscriptions","organizations_url":"https://api.github.com/users/doowb/orgs","repos_url":"https://api.github.com/users/doowb/repos","events_url":"https://api.github.com/users/doowb/events{/privacy}","received_events_url":"https://api.github.com/users/doowb/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T17:33:54Z","updated_at":"2015-02-17T17:33:54Z","body":"No, the options don't mess with any locals that you're passing into the helper."}}