-
spec: https://github.com/bem/bem-xjst/blob/master/docs/en/4-data.md#mods
Right now everything is okay except `mods` in `elems`:
https://github.com/bem/bem-react-core/pull/131
-
### Input code or something about issue background
Run in shell:
```sh
node -p "require('bem-xjst').bemhtml.compile('',{naming:{mod: '--',val:'_'}}) \
.apply({block:'button',mods:{mod:'val'}})"
`…
-
In v7:
```bash
$ npm i bem-xjst@7
bem-xjst@7.7.4 node_modules/bem-xjst
$ node -p "require('bem-xjst').bemhtml.generate()" > out-v7.js
$ node -p "require('./out-v7.js').apply({block:'qwe'});"
`…
-
ul and ol marked as optional in this list:
https://github.com/bem/bem-xjst/blob/58916ebf0546ac3c84dd285ac43b9fa6bb8e5f51/lib/bemhtml/index.js#L121
But according to html spec its end tags NOT opt…
-
Any package have it’s version. bem-xjst, i-bem, bem-core, etc. I propose to make version selector. At least for major releases.
-
for example I was confused with all bem* formats and write something like that:
```
({ block: 'popup', mods: { theme: ['normal', 'action'] } })
```
I will get ``
In big project I can even don't…
-
Не нашёл способ передать собственный идентификатор в компонент *popup* группы *dropdown* из *bem-components*.
Имеется в виду установка того идентификатора, который используется для связи *popup* и …
-
In bemjson:
``` js
{
block: 'some',
content: 'Texttext2'
}
```
Result in html some times ago:
``` html
Texttext2
```
Result in html now
``` html
Text<br>Text
```
-
А вы пробовали для своей методологии воспользоваться AMCSS?
Например в таком виде: .block[elem_='mod'] и .block[mixelem_='mod']
viT-1 updated
7 years ago
-
Где-то видел пример линтинга, подключаемого в **.enb/make.js**, не могу найти. Ткните, пожалуйста?
Интересует пример предварительной статической проекта проверки перед сборкой (js, bemhtml, возможн…