-
look on this line: https://github.com/enb/enb-bem-specs/blob/master/lib/node-configurator.js#L58
``` javascript
// setup template engine
var templateEngineOpts = _.assign({}, templateEngine.temp…
-
The BEM Entity is only be a block (with or without modifier) or element (with or without modifier). For example:
``` js
{ block: 'button', mods: { disabled: true } } // BEMJSON or deps format
// It…
blond updated
8 years ago
-
Hi!
I didn't use your library, but it seems like good idea. `m` can use first param like an object: `{mod1: val1, mod2: val2}` (like `mods` in BEMJSON). I think this:
```
b.e('button').m({
size:…
-
Не создаются модификаторы у елементов. У блоков работают.
ghost updated
8 years ago
-
``` js
block('tabbar')(
replace()(function() {
return {
block: 'tabs-menu',
mix: this.extend(this.mix, [{
block: 'tabbar',
mods: thi…
-
``` js
it('should trim cls', function() {
compile(function() {
block('button').cls()(' btn ');
})
.apply({ block: 'button' })
.should.equal('');
});
it('should escap…
-
### How to reproduce:
1. Create new project with project-stub and `bem make`
2. Create `desktop.bundles/index/index.node.js` with the following content:
``` js
var Vow = require('../../libs/bem-core/…
-
Right now there's support for nested mixes in BEMHTML.
E.g. such bemjson
``` js
{
block: 'b1',
mix: { block: 'b2' }
}
```
with template
``` js
block('b2').mix()({ block: 'b3' });
```
resul…
-
Экранируются кавычки в поле doctype, как я понимаю так быть не должно. Данная ситуация наблюдается с версии 8.х bem-xjst.
Сори за ссылку, так и не понял как ее тут укоротить.
https://bem.github.io/…
-
Find out the numbers for different number of templates:
- Small (10-20)
- Medium (~100)
- Awfully big (> 1000)