Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block with mods in mix of elem does not work #225

Closed
qfox opened this issue Mar 24, 2016 · 1 comment
Closed

block with mods in mix of elem does not work #225

qfox opened this issue Mar 24, 2016 · 1 comment

Comments

@qfox
Copy link
Member

qfox commented Mar 24, 2016

bem-xjst 5

http://goo.gl/ZcBS67

{ block: 'x', elem: 'y', mix: { block: 'b', elemMods: { m: 'v' } } }
// should produce: <div class="x__y b"></div>
// but produces: <div class="x__y b_m_v"></div>
{ block: 'x', elem: 'y', mix: { block: 'b', mods: { m: 'v' } } }
// should produce: <div class="x__y b_m_v"></div>
// but produces: <div class="x__y b"></div>
@miripiruni
Copy link
Contributor

@zxqfox what bem-xjst version 5.0.0? In v5.1.0 I already fixed this bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants