-
Допустим есть блок `menu` с элементами `menu__item`.
Как обернуть все `menu__item` в блок `wrapper`, используя `bemhtml`, чтобы не писать это в BEMJSON ручками.
Имеем:
```
{
block: 'menu',
…
-
@0mkara @kevupton @ddcech @draku29 @raininja
[Enter steps to reproduce:]
_Note: I do have the 'language-babel 2.85.0' package installed_
Error told me to reference[ #91 > Failed to add etheratom…
-
eslint 0.7.4
I debugged the issue, and found that it is minimatch bug:
```
> minimatch('vendors/bem-bl/.bem/techs/i18n.desc.wiki.js', 'vendors/**'); // ".bem" here
false
> minimatch('vendors/bem-bl/…
-
Для максимального приближения к реальным условаиям можно сделать исходный формат для контента `json`.
Получится, в папке с блоком будет лежать `block.json` и схема рендеринга выглядит так:
JSON + BEM…
-
Всем привет.
В документации написано следующее:
> [JS-параметры. Если значение не falsy, то **миксует i-bem** и добавляет содержимое в JS-параметры.](https://github.com/bem/bem-xjst/blob/b832e39…
-
```js
var bemjsonToDecl = require('@bem/sdk.bemjson-to-decl');
var bemjson = [null];
var entities = bemjsonToDecl.convert(bemjson);
```
ошибка:
```
TypeError: Cannot read property 'block' of …
-
Подскажите, как собрать проект в отдельную папку ```public```, в которой должны быть все html-страниц, в ```public/css``` все ```.css``` файлы бандлов и ```public/js``` аналогично. С этим собственно р…
-
Old package https://github.com/bem-sdk-archive/bemjson-to-decl now forwards to https://github.com/bem/bem-sdk/tree/master/packages/bemjson-to-decl
But how to install it? Name in package.json alread…
-
input bemjson
```
([
{ block: 'link', c : 2 },
]);
```
template
```
block('link')(
match((node, ctx) => ctx.c)
.extend()((node, ctx) => ({
'ctx.mods' : node.…
-
Test repo https://github.com/alexbaumgertner/tmpl-spec-error
Ошибка в применении скомпилированных шаблонов возникает при запуске tmpl-тестов. Примеры собираются ок.
Требуется установка внутренней np…