{"action":"opened","issue":{"url":"https://api.github.com/repos/agentcooper/htmltemplate-vdom/issues/20","labels_url":"https://api.github.com/repos/agentcooper/htmltemplate-vdom/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/agentcooper/htmltemplate-vdom/issues/20/comments","events_url":"https://api.github.com/repos/agentcooper/htmltemplate-vdom/issues/20/events","html_url":"https://github.com/agentcooper/htmltemplate-vdom/issues/20","id":118787340,"number":20,"title":"Pass TMPL_VAR attributes to lookup function","user":{"login":"Lapple","id":1042560,"avatar_url":"https://avatars.githubusercontent.com/u/1042560?v=3","gravatar_id":"","url":"https://api.github.com/users/Lapple","html_url":"https://github.com/Lapple","followers_url":"https://api.github.com/users/Lapple/followers","following_url":"https://api.github.com/users/Lapple/following{/other_user}","gists_url":"https://api.github.com/users/Lapple/gists{/gist_id}","starred_url":"https://api.github.com/users/Lapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lapple/subscriptions","organizations_url":"https://api.github.com/users/Lapple/orgs","repos_url":"https://api.github.com/users/Lapple/repos","events_url":"https://api.github.com/users/Lapple/events{/privacy}","received_events_url":"https://api.github.com/users/Lapple/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T08:47:43Z","updated_at":"2015-11-25T08:47:43Z","closed_at":null,"body":"```xml\r\n<TMPL_VAR greeting\r\n    name=[% $user %]>\r\n```\r\n\r\nshould probably become something like\r\n\r\n```js\r\nlookupValue('greeting', { 'name': lookupValue('user') })\r\n```"}}