{"action":"created","issue":{"url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/6","repository_url":"https://api.github.com/repos/mkdecisiondev/reshape-component","labels_url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/6/comments","events_url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/6/events","html_url":"https://github.com/mkdecisiondev/reshape-component/issues/6","id":295337173,"number":6,"title":"Evaluating values in attributes","user":{"login":"Elbone","id":804188,"avatar_url":"https://avatars1.githubusercontent.com/u/804188?v=4","gravatar_id":"","url":"https://api.github.com/users/Elbone","html_url":"https://github.com/Elbone","followers_url":"https://api.github.com/users/Elbone/followers","following_url":"https://api.github.com/users/Elbone/following{/other_user}","gists_url":"https://api.github.com/users/Elbone/gists{/gist_id}","starred_url":"https://api.github.com/users/Elbone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elbone/subscriptions","organizations_url":"https://api.github.com/users/Elbone/orgs","repos_url":"https://api.github.com/users/Elbone/repos","events_url":"https://api.github.com/users/Elbone/events{/privacy}","received_events_url":"https://api.github.com/users/Elbone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-07T23:56:12Z","updated_at":"2018-02-21T18:48:19Z","closed_at":null,"author_association":"NONE","body":"I would love to be able to do:\r\n```html\r\n<!-- template -->\r\n<div class=\"card\" title=\"${card-name}\">\r\n  <h1>${card-title}</h1>\r\n  <div data-foo=\"${card-foo}\"></div>\r\n</div>\r\n```"},"comment":{"url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/comments/367429750","html_url":"https://github.com/mkdecisiondev/reshape-component/issues/6#issuecomment-367429750","issue_url":"https://api.github.com/repos/mkdecisiondev/reshape-component/issues/6","id":367429750,"user":{"login":"msssk","id":931637,"avatar_url":"https://avatars2.githubusercontent.com/u/931637?v=4","gravatar_id":"","url":"https://api.github.com/users/msssk","html_url":"https://github.com/msssk","followers_url":"https://api.github.com/users/msssk/followers","following_url":"https://api.github.com/users/msssk/following{/other_user}","gists_url":"https://api.github.com/users/msssk/gists{/gist_id}","starred_url":"https://api.github.com/users/msssk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msssk/subscriptions","organizations_url":"https://api.github.com/users/msssk/orgs","repos_url":"https://api.github.com/users/msssk/repos","events_url":"https://api.github.com/users/msssk/events{/privacy}","received_events_url":"https://api.github.com/users/msssk/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T18:48:19Z","updated_at":"2018-02-21T18:48:19Z","author_association":"CONTRIBUTOR","body":"I haven't found a need to do this, but my first thought is it is probably affected by the order the plugins are run. If you are using `reshape-standard` and [`appendPlugins`](https://github.com/mkdecisiondev/reshape-component#using-with-spike) then `reshape-component` will run last. So when `reshape-expression` runs it will process `if(condition=\"${variable}=='something'\")` rather than the processed value (e.g. `if(condition=\"replacedVar=='something'\")`.\r\n\r\nIf you create your own Reshape config then you can try inserting `reshape-component` before `reshape-expression`."}}
{"actor":{"display_login":"msssk"}}