bem / bem-xjst

bem-xjst (eXtensible JavaScript Templates): declarative template engine for the browser and server
https://bem.github.io/bem-xjst
Other
115 stars 47 forks source link

Mix of a block to it's own elem fails #72

Closed tadatuta closed 9 years ago

tadatuta commented 9 years ago

Default tempaltes with following BEMJSON

{
    block: 'b1',
    elem: 'e1',
    mix: { block: 'b1' }
}

result with <div class="b1__e1"></div> but <div class="b1 b1__e1"></div> expected.

cc @indutny

indutny commented 9 years ago

Fixed in 861beb1