-
Now index build after build:
``` console
_index.css
_index.html
_index.js
index.bemdecl.js
index.bemhtml.bemdecl.js
index.bemhtml.deps.js
index.bemhtml.js
index.bemjson.js
index.browser.bemhtml.js
in…
blond updated
9 years ago
-
Господа, прошу руку помощи.
Имеется по минимуму:
.bem/make.js
``` javascript
MAKE.decl('Arch', {
blocksLevelsRegexp: /^.+?\.blocks/,
bundlesLevelsRegexp: /^.+?\.bundles/,
getLibraries: f…
-
Хочется получая ajaxом(bemjson(Данные) - блока), прогнав его через bemhtml получить исходный html
Делать это все добро надо на клиенте.
Есть ли такая возможность?
-
At least we can provide `require()` from bem-tools.
veged updated
9 years ago
-
Здравствуйте.
Допустим есть следующий блок в index.bemjson файле.
``` bemjson
{
block: 'my-block',
myName: 'Jonny',
content: ' '
}
```
В документации нашел как получить атрибут "myName" …
-
- Rename `html-from-bemjson` tech to `bemjson-to-html`.
- Rename `html-from-bemjson-i18n` tech to `bemjson-to-html-i18n`.
blond updated
9 years ago
-
-
Import `i18n-bemjson-to-html` techs from:
- enb-bem/enb-bh
- enb-bem/enb-xjst
- enb-bem/enb-bemxjst
And unite this tech into one
-
```
enb make tmpl-specs desktop.tmpl-specs/tooltip
```
works
```
enb make tmpl-specs desktop.tmpl-specs/tooltip/_size
```
does not.
```
r$ tree common.blocks/tooltip/_size/
common.blocks/tooltip…
-
If there's no `bemjson.js` on filesystem or any target to generate it `bem make -m clean` shouldn't remove `bemdecl.js`.