{"action":"created","issue":{"url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/1","labels_url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/1/comments","events_url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/1/events","html_url":"https://github.com/xiphias/meteor-jade-coffee/issues/1","id":114187598,"number":1,"title":"Cannot Inline Array Accessors","user":{"login":"AlbinoGeek","id":1910461,"avatar_url":"https://avatars.githubusercontent.com/u/1910461?v=3","gravatar_id":"","url":"https://api.github.com/users/AlbinoGeek","html_url":"https://github.com/AlbinoGeek","followers_url":"https://api.github.com/users/AlbinoGeek/followers","following_url":"https://api.github.com/users/AlbinoGeek/following{/other_user}","gists_url":"https://api.github.com/users/AlbinoGeek/gists{/gist_id}","starred_url":"https://api.github.com/users/AlbinoGeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlbinoGeek/subscriptions","organizations_url":"https://api.github.com/users/AlbinoGeek/orgs","repos_url":"https://api.github.com/users/AlbinoGeek/repos","events_url":"https://api.github.com/users/AlbinoGeek/events{/privacy}","received_events_url":"https://api.github.com/users/AlbinoGeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T02:31:42Z","updated_at":"2015-10-30T15:49:36Z","closed_at":null,"body":"The original accessor code is:\r\n```jade\r\neach Meteor.users.find({})\r\n  .item\r\n    .content= emails[0].address\r\n```\r\n\r\nIt compiles down to the following client (browser) side error:\r\n```js\r\nBlaze.View(\"lookup:emails\", function() {\r\n  return Spacebars.mustache(view.lookup(\"emails\"), Spacebars.dot(view.lookup(\"0\"), \"address\"));\r\n});\r\n```\r\n\r\nIt should access [ this.emails[0].address ] where \"this\" is defined by the above \"each\" block.\r\n\r\n---\r\n\r\nOriginally, it worked as a CoffeeScript Helper:\r\n```coffee\r\nTemplate.UsersList.helpers\r\n  primaryEmail: -> @emails[0].address\r\n```\r\n\r\nIt does not work inline however."},"comment":{"url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/comments/152562675","html_url":"https://github.com/xiphias/meteor-jade-coffee/issues/1#issuecomment-152562675","issue_url":"https://api.github.com/repos/xiphias/meteor-jade-coffee/issues/1","id":152562675,"user":{"login":"xiphias","id":164663,"avatar_url":"https://avatars.githubusercontent.com/u/164663?v=3","gravatar_id":"","url":"https://api.github.com/users/xiphias","html_url":"https://github.com/xiphias","followers_url":"https://api.github.com/users/xiphias/followers","following_url":"https://api.github.com/users/xiphias/following{/other_user}","gists_url":"https://api.github.com/users/xiphias/gists{/gist_id}","starred_url":"https://api.github.com/users/xiphias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiphias/subscriptions","organizations_url":"https://api.github.com/users/xiphias/orgs","repos_url":"https://api.github.com/users/xiphias/repos","events_url":"https://api.github.com/users/xiphias/events{/privacy}","received_events_url":"https://api.github.com/users/xiphias/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T15:49:36Z","updated_at":"2015-10-30T15:49:36Z","body":"I didn't specifically implement = operator, so this is a missing feature. Could you try this?\r\n\r\n```jade\r\n.content #{emails[0].address}\r\n```"}}