{"action":"created","issue":{"url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/3","labels_url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/3/comments","events_url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/3/events","html_url":"https://github.com/botandrose/ember-rails-assets/pull/3","id":73994868,"number":3,"title":"Switch to registerBoundHelper","user":{"login":"stevehanson","id":1691324,"avatar_url":"https://avatars.githubusercontent.com/u/1691324?v=3","gravatar_id":"","url":"https://api.github.com/users/stevehanson","html_url":"https://github.com/stevehanson","followers_url":"https://api.github.com/users/stevehanson/followers","following_url":"https://api.github.com/users/stevehanson/following{/other_user}","gists_url":"https://api.github.com/users/stevehanson/gists{/gist_id}","starred_url":"https://api.github.com/users/stevehanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevehanson/subscriptions","organizations_url":"https://api.github.com/users/stevehanson/orgs","repos_url":"https://api.github.com/users/stevehanson/repos","events_url":"https://api.github.com/users/stevehanson/events{/privacy}","received_events_url":"https://api.github.com/users/stevehanson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T13:50:01Z","updated_at":"2015-05-07T16:31:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/botandrose/ember-rails-assets/pulls/3","html_url":"https://github.com/botandrose/ember-rails-assets/pull/3","diff_url":"https://github.com/botandrose/ember-rails-assets/pull/3.diff","patch_url":"https://github.com/botandrose/ember-rails-assets/pull/3.patch"},"body":"`registerHelper` does not resolve variables that are passed in. So, a call for `{{asset-path myVar}}` passes the string \"myVar\" to the helper. Using `registerBoundHelper` fixes this and also binds the helper to the variable so that the helper recomputes when the value changes.\r\n\r\nHere is some more info on the difference between `registerHelper` and `registerBoundHelper`: http://stackoverflow.com/a/18012442/680847"},"comment":{"url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/comments/99930701","html_url":"https://github.com/botandrose/ember-rails-assets/pull/3#issuecomment-99930701","issue_url":"https://api.github.com/repos/botandrose/ember-rails-assets/issues/3","id":99930701,"user":{"login":"botandrose","id":17391,"avatar_url":"https://avatars.githubusercontent.com/u/17391?v=3","gravatar_id":"","url":"https://api.github.com/users/botandrose","html_url":"https://github.com/botandrose","followers_url":"https://api.github.com/users/botandrose/followers","following_url":"https://api.github.com/users/botandrose/following{/other_user}","gists_url":"https://api.github.com/users/botandrose/gists{/gist_id}","starred_url":"https://api.github.com/users/botandrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botandrose/subscriptions","organizations_url":"https://api.github.com/users/botandrose/orgs","repos_url":"https://api.github.com/users/botandrose/repos","events_url":"https://api.github.com/users/botandrose/events{/privacy}","received_events_url":"https://api.github.com/users/botandrose/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T16:31:39Z","updated_at":"2015-05-07T16:31:39Z","body":"Strange, tried using this branch in one of my projects, and it results in an Exception:\r\n\r\n```\r\nUncaught Error: Assertion Failed: An error occured while setting up template bindings. Please check \"slides.1.12\" template for invalid markup or bindings within HTML comments.\r\n```\r\n\r\n```slim\r\n/ slides/1/12.emblem\r\nimg.fade-1 src=\"{{asset-path \"feedback-graphs.jpg\"}}\"\r\n```\r\n\r\nAny ideas?\r\n\r\nI'm running old versions of Ember and Emblem, so I'll try updating those. I'll also put some tests in place so that Travis can do this kind of work for us, too."}}