{"action":"created","issue":{"url":"https://api.github.com/repos/zordius/lightncandy/issues/138","labels_url":"https://api.github.com/repos/zordius/lightncandy/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/zordius/lightncandy/issues/138/comments","events_url":"https://api.github.com/repos/zordius/lightncandy/issues/138/events","html_url":"https://github.com/zordius/lightncandy/issues/138","id":56795358,"number":138,"title":"Looping over array returned by subexpression {{#each (subExp \"1234\")}} does not work","user":{"login":"madsleejensen","id":92769,"avatar_url":"https://avatars.githubusercontent.com/u/92769?v=3","gravatar_id":"","url":"https://api.github.com/users/madsleejensen","html_url":"https://github.com/madsleejensen","followers_url":"https://api.github.com/users/madsleejensen/followers","following_url":"https://api.github.com/users/madsleejensen/following{/other_user}","gists_url":"https://api.github.com/users/madsleejensen/gists{/gist_id}","starred_url":"https://api.github.com/users/madsleejensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madsleejensen/subscriptions","organizations_url":"https://api.github.com/users/madsleejensen/orgs","repos_url":"https://api.github.com/users/madsleejensen/repos","events_url":"https://api.github.com/users/madsleejensen/events{/privacy}","received_events_url":"https://api.github.com/users/madsleejensen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zordius/lightncandy/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/zordius/lightncandy/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-06T10:29:34Z","updated_at":"2015-02-09T08:59:40Z","closed_at":"2015-02-07T04:30:24Z","body":"`{{#each}}` cant loop over a array returned by a sub-expression. (tested on: dev-master b97484f and ~0.19) \r\n\r\n```\r\n<ul>\r\n{{#each (mySubExpressionTest \"1234\")}}\r\n    <li>{{this}}</li>\r\n{{/each}}\r\n</ul>\r\n```\r\n\r\nI have tested with: \r\n\r\nflags: `LightnCandy::FLAG_HANDLEBARSJS + LightnCandy::FLAG_ADVARNAME`\r\nand \r\nflags: `LightnCandy::FLAG_HANDLEBARSJS`\r\n\r\nThe `mySubExpessionTest` simply returns a php `array(\"hello\", \"world\")`\r\n\r\nI have tested it with the javascript library which supports this behavior. "},"comment":{"url":"https://api.github.com/repos/zordius/lightncandy/issues/comments/73475890","html_url":"https://github.com/zordius/lightncandy/issues/138#issuecomment-73475890","issue_url":"https://api.github.com/repos/zordius/lightncandy/issues/138","id":73475890,"user":{"login":"madsleejensen","id":92769,"avatar_url":"https://avatars.githubusercontent.com/u/92769?v=3","gravatar_id":"","url":"https://api.github.com/users/madsleejensen","html_url":"https://github.com/madsleejensen","followers_url":"https://api.github.com/users/madsleejensen/followers","following_url":"https://api.github.com/users/madsleejensen/following{/other_user}","gists_url":"https://api.github.com/users/madsleejensen/gists{/gist_id}","starred_url":"https://api.github.com/users/madsleejensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madsleejensen/subscriptions","organizations_url":"https://api.github.com/users/madsleejensen/orgs","repos_url":"https://api.github.com/users/madsleejensen/repos","events_url":"https://api.github.com/users/madsleejensen/events{/privacy}","received_events_url":"https://api.github.com/users/madsleejensen/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T08:59:40Z","updated_at":"2015-02-09T08:59:40Z","body":"Just tested dev-master, works flawless :) thanks alot for your work on this library."}}