-
Здравствуйте.
Не могу понять, почему у меня не работает пример из справочного руководства
https://ru.bem.info/technology/bemhtml/v2/reference/#Использование-позиции-БЭМ-сущности
скопировал один-в-о…
-
При генерации блоков - генерируется bemhtml следующего содержания
``` js
block('block')
```
При сборке проекта это вызывает ошибку
`block('block')()` — и всё работает нормально
у styl таже проблема…
-
В собранном бандле для bemhtml или bemtree одна и та же ошибка.
```
node -p "require('./build/bundles/index/index.bemhtml.js').apply({});"
/Users/voischev/projects/bem-full-stack/build/bundles/index/…
-
[Test case](http://bem.github.io/bem-xjst/?bemhtml=block%28%27button%27%29.cls%28%29%28%27btn%27%29%3B&bemjson=%28%7B%20block%3A%20%27button%27%2C%20cls%3A%20%27user-btn%27%20%7D%29)
-
cc @veged
veged updated
8 years ago
-
Cherry-pick https://github.com/bem/bem-xjst/commit/f61e6476568cf323fa479e8e908e24b176fee0aa
-
now i need proxy ctx in elems
stupid example (**Fixed**) (**[DEMO](http://bem.github.io/bem-xjst/?bemhtml=block%28'b'%29%28%0A%20%20%20%20content%28%29%28function%28%29%7B%20return%20%5B%0A%20%20%20%2…
-
node.js and [most browsers](http://caniuse.com/#feat=promises) already have native support for promises.
-
cc @veged
-
With `bem-xjst@1.x` it's possible to write match like this:
``` js
elemMatch(function() {
return this.elem === 'layout-unit' || this.elem === 'separator' || this.elem === 'gap';
}).ta…