-
Как заставить BEM-tools вызывать правила из миксированных блоков с технологией BEMHtml.
`pages/example/example.bemjson.js`:
```
({
block: 'b-page',
title: 'default',
head: [
{ bl…
-
Ошибка возникает при геренации html из bemjson'a наложением bemhtml'я
Небольшое расследование на эту тему:
По коду ниже видно, что _apply(this._mode = 'js-params')_ вызывается для dektop'a из шаблона…
-
after runnig bem make i see some usual info then:
WARNING! There are 1 unfinished build processes!
This application exit is not planned. Please check that all nodes in arch resolve or reject promises…
-
I cannot make the `b-page` block js-able using BEMHTML templates at my level
`block b-page, js: true`
Only bemjson instruction works.
varya updated
11 years ago
-
Write a GNUmakefile that does:
- build every page
the commaind is `make pages/beginning`
Building a page starts from .wiki file for every locale (we have .en.wiki and .ru.wiki now).
*.(en|ru).wi…
varya updated
11 years ago
-
We need tech module to build `.js` files for bundles that include bemhtml templates to render html from bemjson in the browser.
To build such a file we need to build `js` part using common deps, buil…
-
http://clubs.ya.ru/bem/replies.xml?item_no=1604
-
``` js
require('path/to/templates.bemhtml.js').apply(bemjson);
```
-
Хочется иметь в bemjson встроенную поддержку комментирования блоков.
например
``` javascript
{
block: 'b-test',
info: true,
content: 'hello'
}
```
будет развариваться в
<!-- start b-…
-
Играюсь с БЭМ, сегодня сделал в проекте make -B и что-то пошло не так.
Раньше лечилось обновлением всего связанного с БЭМ. В этот раз не полечилось.
Удалил все что было, поставил обратно. Все равно н…
dmage updated
12 years ago