linkedin / css-blocks

High performance, maintainable stylesheets.
http://css-blocks.com/
BSD 2-Clause "Simplified" License
6.33k stars 152 forks source link

Dynamic scope properties are not evaluated in hbs files #371

Closed chriseppstein closed 4 years ago

chriseppstein commented 4 years ago

The following expression is not appended to the class attribute during rewrite.

<div grid:scope={{eq this.width "fixed"}}>

The compiled template has [7,\"div\",true],[10,\"class\",\"\"] -- the scope attribute is completely ignored if it is dynamic (the class is present when static).