bh icon indicating copy to clipboard operation
bh copied to clipboard

BH template engine

Results 16 bh issues
Sort by recently updated
recently updated
newest added

В версии `bh 3.x` можно было доопределить шаблон элемента блока с каким-нибудь модификатором следующим образом: ``` bh.match('blockName__elemName', function(ctx) { ctx.content('Hello!') }); bh.match('blockName_modName_modVal__elemName', function(ctx) { ctx.applyBase(); ctx.content('Buy!', true) }); ``` И...

@mishanga I always thought that it's faster to push/pop then shift/unshift from array

Something like this: `{ block: 'button', contentSafe: 'alert('you shall not pass!') }`

because CSP `unsafe-eval` is not so cool @zxqfox @mishanga

follow up https://github.com/bem/bem-xjst/pull/290

bem.github.io не работает в Firefox. Поля Data и Templates путстые, нет реакции на ввод.

see details in commit The modifier serializes to class well, but template does not match ``` + expected - actual - + ```

`{ block: 'a', mix: 'b' }` => `` Also: `ctx.mix('a__b')` => `ctx.mix()` => `'{ block: 'a', elem: 'b' }` `{ mix: 'a__b_c' }`

- [ ] Use `data-bem` value instead of `onclick` for `jsAttrName` option. - [ ] Use `json` value instead of `js` for `jsAttrScheme` option.