Vladimir Grinenko
Vladimir Grinenko
so can we close the issue?
@awinogradov See https://ru.bem.info/forum/821/#comment-174037415
Can you suggest backward compatible PR with a fix to bem-core?
https://nda.ya.ru/3SUP3Z
Is [this](https://en.bem.info/methodology/faq/#why-can39t-i-write-block_mod-instead-of-block-block_mod-if-the-modifier-name-already-contains-all-the-block-information) an answer to your question?
You may use mixes: ```html ``` For more info about mixes see https://en.bem.info/methodology/css/#mixes
Исправляется в https://github.com/bem/bem-core/pull/1603
Плохой вариант: ``` js $(BEMHTML.apply({ block : 'block', mods : { foo : 'bar' }, content : { elem : 'result' } })).find(this.buildSelector('result')).html(); ``` Хороший вариант: сделать `result` самостоятельным блоком,...
В `[email protected]` поведение совпадает: ``` js BEMHTML.apply({ block: 'b1', elem: 'e1', elemMods: { m1: 'v1' } }); // '' BEMHTML.apply({ block: 'b1', elem: 'e1', mods: { m1: 'v1' } });...
@narqo завел https://github.com/bem/bem-xjst/issues/88