{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating-resources/issues/114","labels_url":"https://api.github.com/repos/aurelia/templating-resources/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating-resources/issues/114/comments","events_url":"https://api.github.com/repos/aurelia/templating-resources/issues/114/events","html_url":"https://github.com/aurelia/templating-resources/issues/114","id":109474129,"number":114,"title":"repeat.for=\"...\" does not work on a custom element node.","user":{"login":"andyshora","id":274326,"avatar_url":"https://avatars.githubusercontent.com/u/274326?v=3","gravatar_id":"","url":"https://api.github.com/users/andyshora","html_url":"https://github.com/andyshora","followers_url":"https://api.github.com/users/andyshora/followers","following_url":"https://api.github.com/users/andyshora/following{/other_user}","gists_url":"https://api.github.com/users/andyshora/gists{/gist_id}","starred_url":"https://api.github.com/users/andyshora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyshora/subscriptions","organizations_url":"https://api.github.com/users/andyshora/orgs","repos_url":"https://api.github.com/users/andyshora/repos","events_url":"https://api.github.com/users/andyshora/events{/privacy}","received_events_url":"https://api.github.com/users/andyshora/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T11:21:33Z","updated_at":"2015-10-02T12:24:53Z","closed_at":"2015-10-02T12:24:53Z","body":"Using the repeat.for attribute on a custom element node in the view does not work.\r\n\r\nWorks\r\n```\r\n<p repeat.for=\"i of 10\">works</p>\r\n```\r\n\r\n**Does not work**\r\n```\r\n<my-element repeat.for=\"i of 10\"></my-element>\r\n```\r\n\r\nThe error is coming from the binding file, so not sure if this is a bug with templating or binding.\r\n```\r\nERROR [app-router] TypeError: Cannot read property '0' of undefined\r\n    at getKeyed (http://localhost:9000/jspm_packages/github/aurelia/binding@0.9.1/aurelia-binding.js:2079:17)\r\nzzz"},"comment":{"url":"https://api.github.com/repos/aurelia/templating-resources/issues/comments/145002127","html_url":"https://github.com/aurelia/templating-resources/issues/114#issuecomment-145002127","issue_url":"https://api.github.com/repos/aurelia/templating-resources/issues/114","id":145002127,"user":{"login":"andyshora","id":274326,"avatar_url":"https://avatars.githubusercontent.com/u/274326?v=3","gravatar_id":"","url":"https://api.github.com/users/andyshora","html_url":"https://github.com/andyshora","followers_url":"https://api.github.com/users/andyshora/followers","following_url":"https://api.github.com/users/andyshora/following{/other_user}","gists_url":"https://api.github.com/users/andyshora/gists{/gist_id}","starred_url":"https://api.github.com/users/andyshora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyshora/subscriptions","organizations_url":"https://api.github.com/users/andyshora/orgs","repos_url":"https://api.github.com/users/andyshora/repos","events_url":"https://api.github.com/users/andyshora/events{/privacy}","received_events_url":"https://api.github.com/users/andyshora/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T12:24:53Z","updated_at":"2015-10-02T12:24:53Z","body":"Solved. I wasn't referencing $parent inside the repeat :-/\r\n\r\nClosing, and sorry!"}}