-
You could do this, but this is undocumented, and I couldn't find test for this API. So
what about drop it??
```
{
block: 'button',
attrs: {
// this works
name: {bloc…
-
because `this.mods === this.ctx.mods`
https://github.com/bem/bem-xjst/blob/309a9d1d370281ef071daeaac626d15744937c01/lib/bemxjst/index.js#L375
-
There are two types of examples in markdown docs:
1. BEMJSON which should be converted into iframe (implemented)
2. plain JS which should be kept as is
There's an agreement that second type of ex…
-
as it done here:
https://github.com/Yeti-or/bemjson-to-jsx-loader/blob/master/index.js#L115
-
### Input code or something about issue background
https://goo.gl/FR27oN
```js
// BEMJSON
([
{ block: 'b1', cls: 'anything' },
{ block: 'b1' }
]);
// templates
block('b1')(
bem()…
-
Здравствуйте! Пытаюсь разобраться с БЭМ, в частности, сейчас пытаюсь понять, как правильно реализовать компоненты MDL в BEMJSON. Например, компонент `tabs` ([ссылка](https://www.getmdl.io/components/i…
germn updated
6 years ago
-
Всем привет. Почему если в списке шаблонов для элемента есть шаблон с указанием имени сущности `block('*').elem('*')` он или не применяет свой режим или блокирует дальнейший поиск подходящих wildcard …
-
Всем привет. К примеру есть такой вот bemjson
{
block: 'b1',
content: [
{
block: 'b2',
mix: {block: 'b1', elem: 'e1'},
content: [
…
-
I saw https://github.com/bem/bem-react-core/pull/135
Still think that this should works:
```jsx
mix={{
block: 'foo’,
elem: 'bar’,
elemMods: {mod: 'val’}
}}
```
Because we have …
-
```
({
block: 'button',
text: 'Hello world',
attrs: {
style: 'width: 200px; height: 200px;'
}
})
```
=>
```
```
but `' height'` is not same as `'height'` the sp…