-
Сейчас, у нас, если блок имеет логику на priv его можно встроить только в priv'ах же
Предлагаемое решение:
регистрировать декларации блоков в неком хранилище в BEMPRIV,
а вызываться они должны автома…
-
Something like: `new Error().stack` for usual JS but for bem-xjst templates.
Stack should contains only user templates and external calls and skip internal bem-xjst code.
Helper should be possible to…
-
Так как у нас сервер на ноде, возникает вопрос, насколько оправданно собирать bemtree бандлы с bem-xjst внутри. Кажется проще подключить их на старте приложения и досыпать шаблоны из собранных бандлов…
-
Платформа/Шаблоны (BEMHTML, BEMTREE)/Быстрый старт/online demo
https://bem.github.io/bem-xjst/
В результирующем коде должен быть элемент 'image'. Но его нет.
Пытаюсь повторить блок с логотипом на…
-
В версии `bh 3.x` можно было доопределить шаблон элемента блока с каким-нибудь модификатором следующим образом:
```
bh.match('blockName__elemName', function(ctx) {
ctx.content('Hello!')
…
-
А как сейчас с поддержкой модификаторов без значений в i-bem, bem-xjst?
Судя по этой странице: https://ru.bem.info/technology/i-bem/v2/i-bem-js-mods/#mods-api
i-bem, например, уже поддерживает. Тольк…
-
Всем привет,
Кратко об основных событиях в мире БЭМ за последние 4 месяца с [предыдущего дайджеста](https://ru.bem.info/forum/787/).
Новости библиотек
- Выпустили [`bem-core 4.0.0-rc.1`](https://git…
-
Не пропустите два доклада про БЭМ на сегодняшнем [Я.Субботнике](https://events.yandex.ru/events/yasubbotnik/27-feb-2016/).
В 17:30 @miripiruni [расскажет](https://events.yandex.ru/events/yasubbotnik/…
-
### Input code or something about issue background
```js
const bemhtml = require('bem-xjst').bemhtml;
const tmpl = bemhtml.compile(function() {
block('b1').wrap()(node => ({
block: …
-
Понятно что технология нужна. Но, нужна ли для этого отдельная технология? Например, на одном проекте у реализована двупроходная шаблонизация средствами `bh`. И все норм. Не проще ли добавить в bemhtm…