-
Strict API prevents user to use incompatible parts of API together.
It throws exceptions when user try to
- change permanent mod on runtime
- use BEMJSON special field without compatible or with incom…
-
При написании проекта с нуля на `bem-stub` - структура делается по `bemjson`.
А как править структуру в `bem-forum`?
-
Имеем такой bemjson
```
'footer-menu': [
{
elem: 'item',
url: 'http://df.dfd/ ',
content: 'пункт меню1'
},
{
url: 'http://df.dfd/ ',
content: 'пунк…
-
Если используется централизованное получение данных с бекенда, в чем преимущества использования bemtree по сравнению с прямым формированием полного дерева bemjson бекендом?
-
Привет. Встретил такой кейс. Нужно от шаблонизировать элемент блока-с-модификатором в браузере
Шаблон
``` js
block('block').mod('foo', 'bar')(
...,
elem('result')(
mix()(function() {…
-
Хочется избавиться от написания bemjson в js файлах блоков. Учитывая, что на клиенте уже есть BEMHTML, кажется вес js не должен сильно увеличиться.
-
Подскажите как создать блок BEM (в идеале из BEMJSON) в runtime, например по событию нажатия на кнопку, и добавить его в к содержимому другого блока.
ghost updated
7 years ago
-
Examples: http://goo.gl/SBJszu
More examples: https://goo.gl/lhxXE9
-
Очень интересно, но при работе с Notepad++ компилится в 2-3 раза быстрее, чем когда правлю bemjson вимом.
У кого было такое? Чем это лечится?
Заранее спасибо
-
Только начинаем внедрять, есть вопрос, почему зависимости из BEMJSON создаются автоматически, а в шаблоне -- нет. Есть какая-то идеологическая причина? Или это ограничение сборщика enb текущей версии?…