-
Привет! Обновил `enb-bem-techs@1.0.4` до версии `2.0.0` и начались проблемы со сборкой bemhml и html.
Сама сборка проходит без ошибок, но по окончании сборки я имею пустой html файл и странно собранн…
-
Начал делать первый практический проект на БЭМ, используя руководство https://ru.bem.info/tutorials/start-with-project-stub/
Работаю через приложение PhpStorm 9.0.2
Вот что валится
20:13:53 Abstrac…
-
http://bem.github.io/bem-xjst/
_bemjson_
```
({
block: 'block',
content: [1,2,3,4,5].map(function() {
return { block: 'ololo' };
})
});
```
_bemhtml_
```
block('ololo').content…
-
В bemjson-файле описания страницы есть блоки .event-line и .article-preview.
Внутри .article-preview используется .event-line.
Не получается передать содержимое из bemjson в bemhtml.
Все, до чего доду…
-
Владимир, спасибо за bemtree и работу что вы делаете
Не могли бы еще добавить как работает инициализация js? сколько не пробывал не получается сделать на блок простого вывода алерта при наведении или …
-
`bem-xjst@4.0.1`
BEMJSON:
``` js
[
{
block: 'b1',
mods: { m1: 'v1' }
},
{
block: 'b1',
mods: { ololo: 'trololo' }
}
]
```
Templates:
``` js
block('b…
-
Guys, we've changed api of BEMTREE in 3.0 because I wanted to handle errors. I think, we should restore it back before official publication of 3.0.
Why?
- it's always better to don't break
- consis…
-
Only `bem-xjst@1.x` in production mode affected.
``` js
// BEMJSON
{
block: 'test',
mods: {hello: 'world'}
}
// BEMHTML
block('test').content()(function() {
console.log(this.mods); // { …
-
Поиграться можно тут
http://bem.github.io/bem-xjst/
Пара типов данных
```
({
block: 'block1'
});
```
или
```
({
block: 'block1',
mods: { a: 'b' }
});
```
Далее буду приводить по пар…
-
There could be other output methods — like bemjson etc, Jade could be nice not only for outputting html, but also as a layer between data in nice indented format and any desired output. So, need to ex…