{"action":"opened","issue":{"url":"https://api.github.com/repos/vphantom/node-jstc/issues/2","repository_url":"https://api.github.com/repos/vphantom/node-jstc","labels_url":"https://api.github.com/repos/vphantom/node-jstc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/vphantom/node-jstc/issues/2/comments","events_url":"https://api.github.com/repos/vphantom/node-jstc/issues/2/events","html_url":"https://github.com/vphantom/node-jstc/issues/2","id":147142111,"number":2,"title":"Add helper library to templates","user":{"login":"vphantom","id":3063161,"avatar_url":"https://avatars.githubusercontent.com/u/3063161?v=3","gravatar_id":"","url":"https://api.github.com/users/vphantom","html_url":"https://github.com/vphantom","followers_url":"https://api.github.com/users/vphantom/followers","following_url":"https://api.github.com/users/vphantom/following{/other_user}","gists_url":"https://api.github.com/users/vphantom/gists{/gist_id}","starred_url":"https://api.github.com/users/vphantom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vphantom/subscriptions","organizations_url":"https://api.github.com/users/vphantom/orgs","repos_url":"https://api.github.com/users/vphantom/repos","events_url":"https://api.github.com/users/vphantom/events{/privacy}","received_events_url":"https://api.github.com/users/vphantom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vphantom/node-jstc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vphantom/node-jstc/milestones/1","html_url":"https://github.com/vphantom/node-jstc/milestones/v1.0.0","labels_url":"https://api.github.com/repos/vphantom/node-jstc/milestones/1/labels","id":1695316,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"vphantom","id":3063161,"avatar_url":"https://avatars.githubusercontent.com/u/3063161?v=3","gravatar_id":"","url":"https://api.github.com/users/vphantom","html_url":"https://github.com/vphantom","followers_url":"https://api.github.com/users/vphantom/followers","following_url":"https://api.github.com/users/vphantom/following{/other_user}","gists_url":"https://api.github.com/users/vphantom/gists{/gist_id}","starred_url":"https://api.github.com/users/vphantom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vphantom/subscriptions","organizations_url":"https://api.github.com/users/vphantom/orgs","repos_url":"https://api.github.com/users/vphantom/repos","events_url":"https://api.github.com/users/vphantom/events{/privacy}","received_events_url":"https://api.github.com/users/vphantom/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-04-09T16:06:41Z","updated_at":"2016-04-09T16:10:27Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-09T16:10:27Z","updated_at":"2016-04-09T16:10:27Z","closed_at":null,"body":"It would be nice if, in addition to `it`, templates had a shortcut to access a variety of utility functions, most provided by users and not by jstc itself, such as HTML encoding (which was handled as a special case in doT.js).\r\n\r\nCan we use `this` to access the current render object?  If so, we could alias `lib` to `render._lib` in template functions' start-up and offer callers a clean way of adding properties and methods in there."}}