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

Add i-bem class when mixed element has js: true with elemJsInstances: true #441

Closed
tadatuta opened this issue Apr 21, 2017 · 0 comments
Closed
Assignees
Milestone

Comments

@tadatuta
Copy link
Member

Input code or something about issue background

{
    block: 'b',
    content: {
        elem: 'e1',
        mix: { elem: 'e2', js: true }
    }
}

Expected Behavior

<div class="b"><div class="b__e1 b__e2 i-bem" data-bem='{"b__e2":{}}'></div></div>

Actual Behavior

<div class="b"><div class="b__e1 b__e2" data-bem='{"b__e2":{}}'></div></div>

(no i-bem class).

bem-xjst version and all relevant details
bem-xjst 7.x / 8.x, with elemJsInstances: true

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