-
JSX:
``` js
```
Bemjson:
``` js
{
block: 'MyBlock',
mods: {
shit: 'ololo'
}
}
```
-
### Input code or something about issue background
```js
const bemhtml = require('bem-xjst').bemhtml;
const tmpl = bemhtml.compile(function() {
block('b1').wrap()(node => ({
block: …
-
For avoid copy-paste of `[{ block: 'b1' }].concat(this.ctx.mix)` we can introduce two new helpers: for construct or convert to array with adding argument after and for inplace modification of `mix` fi…
-
Need to add an ability to fail on js code and skip comments parsing
-
Is there a reason to have PostMd when there is https://github.com/bem-contrib/md-to-bemjson?
-
Options in all techs can be divided into three types: **targets**, **sources** and **options**.
Now, all options are set as a flat list. Because of this, not possible to understand what type of each …
blond updated
9 years ago
-
``` js
modules.define(
'i-bem__dom',
['BEMTREE', 'BEMHTML', 'vow'],
function(provide, BEMTREE, BEMHTML, Vow, BEMDOM) {
provide(BEMDOM.decl(this.name, {}, {
applyBemjson…
Guria updated
7 years ago
-
Предлагается написать блок для реализации сетки. Блок должен учитывать сетку из проектов Яндекса в новом дизайне, использующих bem-components. Я предлагаю взять для начала сетку реализованную мной [т…
-
Добрый день.
Блок `header` будет использоваться на всех страницах сайта. В бандлах, в файлах `bemjson` каждой страницы, кажется логично указывать только сам блок, и возможно модификаторы специфичные …
-
Добрый день, скачал проект, сделал все по инструкции.
Когда сделал export NODE_ENV=production, получил ошибки в консоли после второго обновления страниы localhost:3000. Страница отображает Internal Se…