-
Clicking on focused checkbox or radiobutton generates 2 events: blur + focus.
`bemjson.js`:
``` js
{ block : 'checkbox' }
```
`browser.js`:
``` js
modules.define('checkbox',
['i-bem__dom'],
…
-
I need to get some BEMJSON from BH layer and then compile it to HTML with BEMHTML. But BH process this structure:
``` json
{
"block": "input",
"mods": {
"type": "textarea"
},
…
isqua updated
9 years ago
-
Указал в файлах `*.deps.js` и в папке `__item` и в папке `b-filters`
```
({
mustDeps : { elem : 'item-w' }
})
```
но файлы стилей элемента `item-w` не подгружаются
bemhtml
```
block('b-filters…
-
Привет.
Я тут думаю, как бы мне так доопределить bemtree, чтобы можно было писать
``` js
block('block').js()({a: 1});
```
и
``` js
block('block')(
js()({a: 1})
);
```
вместо
``` js
block('b…
-
Решил переехать с `bem-tools` на `enb`. Склонировал `project-stub`, запустил сборку - страничка собралась. Запускаю dev сервер коммандой `npm start` и вижу привычный вывод bem server. Сборка проходит…
-
I have bemjson
``` js
{ block : 'menu', content : { block : 'not-menu-item' } }
```
It doesn't even be rendered and fails with some dirty error in compiled file ;-(
```
TypeError: Cannot read prope…
-
Не работает тест для блока с технологией bemhtml. Вот здесь собран минимальный проект: https://github.com/dragn/enb-bem-specs-test.
По сути не срабатывает рендеринг шаблона bemhtml. Интересно, что ес…
dragn updated
9 years ago
-
Сейчас в b-page есть несколько спорных реализаций, хочется их более очевидной реализации.
## b-page.deps.js
``` javascript
{ block: 'i-ua' },
{ block: 'i-jquery', elems: 'core' }
```
это блоки не до…
-
Hi!
For example, I have two separately kinds of templates. There are the server-side templates `demo.server.bh.js` and the client-side `demo.browser.bh.js`. How to specify any custom file extension (…
-
Привет!
В рамках своего проекта я для многих целей добавляю префиксы, в том числе и для технологии `files` (удобно потом вычищать / игнорировать собранные файлики для примеров). Когда я пытался собрат…