-
Всем привет. Расскажите, пожалуйста, какие есть варианты кастомизации bem-components под проект? Хочется отказатья от привязки к теме islands, но в тоже время чтобы блоки имели "основной каркас" и фун…
-
[Here](https://github.com/bem/bem-xjst/blob/master/test/runtime-test.js#L323-L338) is a test which is quite strange:
``` js
it('should restore elemMods', function() {
test(function() {
…
-
For BEMJSON
``` js
({
block: 'button',
content: [
{
elem: 'e1'
},
{
elem: 'e2'
}
]
});
```
with templates
``` js
block('button')(…
-
Today I faced an unexpected problem trying to run `enb make` (with "enb-sass" installed and configured in "./enb/make.js").
Here is an excerpt from my npm log:
```
$ enb make
22:00:24.439 - build st…
-
I am using bem-components from the [dist build](https://github.com/bem/bem-components-dist).
Now I am wondering how to add `required` attribute to `` tag to prevent undesired submits of empty form.
…
-
Right now [attributes extends with priority of BEMJSON](https://github.com/bem/bem-core/blob/v2/common.blocks/i-bem/i-bem.bemhtml#L434).
It so strange while [js-parameters extends with priority of te…
-
Каждый блок имеет модификатор theme. И во всех примерах он пишется непосредственно к блоку
``` js
{
block: 'button',
mods: {type: 'submit', theme: 'islands', size: 'l'},
text: 'Search'
}
```
Х…
-
`bem-xjst@1.2.1`
BEMJSON:
``` js
({
block: 'block',
mods: {hello: 'world'},
title: {block: 'i-bem', elem: 'i18n', keyset: 'block', key: 'title'}
});
```
BEMHTML:
``` js
block('block')(…
-
How to reproduce:
``` js
var fs = require('fs'),
bemxjst = require('bem-xjst'), // 4.2.3
uglify = require('uglify-js'), // 2.4.24
bemjson = { block: 'b1' },
tmpl = function() {
…
-
For BEMJSON `{ block: 'b1' }` and
``` js
block('b1').def()(function() {
// returns undefined
});
```
with `bem-xjst 1.x` results in an empty string and with `bem-xjst 2.x` in `'undefined'`.
Tha…