-
На PiterJS рассказал о стеке технологий БЭМ.
Было мало времени на подготовку, но я старался.
Видео: http://bit.ly/bem-full__video
Доклад: http://bit.ly/bem-full
Буду рад вашим вопросам и предложени…
-
``` js
// ./src/components/button/button.bemhtml.js
block('button')(
tag()(function() {
return require('./button.js');
})
);
```
-
На слайде про BEMJSON есть ссылка на википедию на формат JSON. На самом деле BEMJSON — это JavaScript.
-
Всем привет!
Очень интересную ситуацию наблюдаю при сборке примеров для документации на разных платформах (Windows, Linux/OS X) с использованием пакетов `enb-bem-examples` и `enb-magic-factory`. На W…
-
``` js
expect(DOMElement).to.be.a.bem({
block: 'input',
elem: 'icon',
mix: {
block: 'icon',
mods: {
type: 'arrow'
}
}
});
```
-
For avoid copy-paste of `[{ block: 'b1' }].concat(this.ctx.mix)` we can introduce two new helpers: for construct or convert to array with adding argument after and for inplace modification of `mix` fi…
veged updated
8 years ago
-
Всем привет,
Нужна помощь в БЭМ-style вёрстке новых интерфейсов для http://learn.javascript.ru.
Стек: JADE (bem-jade) + Stylus, без bem-tools.
Дизайн в Sketch (нужен Mac).
Важно: делать хороший, по…
-
We have different merging with bemjson behaviour for `content`, `tag`, `cls` and `attrs` modes.
`content` mode executes in anyway.
`tag` mode won't be executed if bemjson had `tag` property.
`attrs` …
-
Возможно я что-то делаю не так. В `bemjson` страницы описал свой блок:
``` javascript
{
block: 'foo',
js: true,
mix: [{ block: 'textarea', js: true }],
tag: 'textarea'
}
```
Далее в `js` тех…
wKich updated
8 years ago
-
there is crazy non-realistic idea...
move service stuff in something like `this._`, because its are used rarely.
and move block's `params` from `this.ctx` to `this`, because its are used frequently