bem/bem-xjst

Presence of `cls` adds `i-bem` for node with `bem: false`

Closed this issue · 1 comments

Input code or something about issue background

https://goo.gl/FR27oN

// BEMJSON
([
  { block: 'b1', cls: 'anything' },
  { block: 'b1' }
]);

// templates
block('b1')(
  bem()(false),
  js()(true)
);

Expected Behavior

<div class="anything"></div>
<div></div>

Actual Behavior

<div class="anything i-bem"></div>
<div></div>

+bem-xjst@8.8.6