{"action":"created","issue":{"url":"https://api.github.com/repos/riot/riot/issues/972","labels_url":"https://api.github.com/repos/riot/riot/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/riot/riot/issues/972/comments","events_url":"https://api.github.com/repos/riot/riot/issues/972/events","html_url":"https://github.com/riot/riot/issues/972","id":94861856,"number":972,"title":"How to avoid parent.parent on nested each","user":{"login":"rkmax","id":395707,"avatar_url":"https://avatars.githubusercontent.com/u/395707?v=3","gravatar_id":"","url":"https://api.github.com/users/rkmax","html_url":"https://github.com/rkmax","followers_url":"https://api.github.com/users/rkmax/followers","following_url":"https://api.github.com/users/rkmax/following{/other_user}","gists_url":"https://api.github.com/users/rkmax/gists{/gist_id}","starred_url":"https://api.github.com/users/rkmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkmax/subscriptions","organizations_url":"https://api.github.com/users/rkmax/orgs","repos_url":"https://api.github.com/users/rkmax/repos","events_url":"https://api.github.com/users/rkmax/events{/privacy}","received_events_url":"https://api.github.com/users/rkmax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/riot/riot/labels/question","name":"question","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T03:50:16Z","updated_at":"2015-07-14T22:01:26Z","closed_at":null,"body":"I have \r\n\r\n```html\r\n<tr each={row in rows}>\r\n  <td each={col in row}>\r\n    <span onclick={parent.parent.sayHello}>{day[0]}</span>\r\n  </td>\r\n</tr>\r\n\r\n<script>\r\nsayHello() {\r\n  ...\r\n}\r\n</script>\r\n```\r\n\r\nHow to call the `sayHello` function without pass .parent.parent or this is by design?"},"comment":{"url":"https://api.github.com/repos/riot/riot/issues/comments/121405020","html_url":"https://github.com/riot/riot/issues/972#issuecomment-121405020","issue_url":"https://api.github.com/repos/riot/riot/issues/972","id":121405020,"user":{"login":"GianlucaGuarini","id":879612,"avatar_url":"https://avatars.githubusercontent.com/u/879612?v=3","gravatar_id":"","url":"https://api.github.com/users/GianlucaGuarini","html_url":"https://github.com/GianlucaGuarini","followers_url":"https://api.github.com/users/GianlucaGuarini/followers","following_url":"https://api.github.com/users/GianlucaGuarini/following{/other_user}","gists_url":"https://api.github.com/users/GianlucaGuarini/gists{/gist_id}","starred_url":"https://api.github.com/users/GianlucaGuarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GianlucaGuarini/subscriptions","organizations_url":"https://api.github.com/users/GianlucaGuarini/orgs","repos_url":"https://api.github.com/users/GianlucaGuarini/repos","events_url":"https://api.github.com/users/GianlucaGuarini/events{/privacy}","received_events_url":"https://api.github.com/users/GianlucaGuarini/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T22:01:26Z","updated_at":"2015-07-14T22:01:26Z","body":"With riot 2.2.2 you should not need it anymore. Can you give it a try please?"}}