Andrew Abramov

Results 57 issues of Andrew Abramov

Resolved #151

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

Кажется, что `bh.require('depend')` выглядит интуитивне чем, `bh.lib.depend`. Плюс, для BEMHTML есть в планах сделать похожее поведение через `this.require`. Сделать можно сахаром поверх `bh.lib`, не ломая обратную совместимость.

Amortization cost is too big for fixing this #203 issue Port of https://github.com/enb/enb-bem-techs/pull/247

in progress

Воспроизвести можно [тут](https://github.com/Yeti-or/enb-bug). #### Описание `block.deps.js`: ``` js ({ mustDeps: [{ mods: { mod1: 'val' } }] }) ``` `pages/page/page.bemdecl.js`: ``` js exports.blocks = [ { "name": "block", "mods": [...

bug
backlog
prio:high
prio:urgent

We can use [bem-decl](https://github.com/bem-sdk/bem-decl) module to `merge`, `subtract` and `intersect` declaration in BEMDECL v1 format.

Сейчас конфиг пестрит обилием квадратных скобок. ``` js var techs = require('enb-bem-techs'); nodeConfig.addTechs([ [techs.levels, { levels: ['blocks'] }], [require('enb/techs/file-provider'), { target: '?.bemjson.js' }], [techs.bemjsonToBemdecl], [techs.depsOld], [techs.files], /* ... */ ]);...

backlog
prio:normal

question
backlog
prio:low

question
backlog
prio:low

question
backlog
prio:low