-
Representation of identifier of a part of BEM entity.
Class should have fields:
Field | Type | Required
-----|------|----------
`entity` | `bem-entity-name` | **required**
`tech` | `string` …
blond updated
7 years ago
-
Clone,
run npm i,
run npm test
see a lot of messages like:
@bem/entity-name deprecated `modName` is kept just for compatibility and can be dropped in the future. Use `mod.name` instead in `{ b…
-
- [ ] `bem-walk`
- [ ] `bem-entity`
- [ ] `bem-decl`
- [ ] `bem-naming`
- [ ] `bem-deps`
- [ ] `bem-fs-scheme`
- [ ] `bem-config`
blond updated
7 years ago
-
@bem/sdk.naming.entity
@bem/sdk.entity-name
This packages have the same links to source but have difference names and groups in README.
-
- [x] entities with multi nodes
- [x] events
- [x] dom
- [x] bem
- [x] fix `dom` block
- [x] refactor
- [x] get rid of copy-paste about nodes iterations
- [x] simple `forEach`
…
-
- Support `pattern` field in the main walk method (like file.parse should actually do it?)
- Parse `pattern` to find `${entity}` inside it
- Choose Walker according to passed `scheme` field (can…
-
This module is used to work with bem-entities and does the same as the current bem-decl.
I think we should move the missing logic to some @bem/sdk package. Hope you can help with this.
-
``` js
normalize({block: 'i-bem', elem: ['dom', 'html']}) // [ { elem: 'dom', block: 'i-bem' }, { elem: 'html', block: 'i-bem' } ]
// It is OK!
```
BUT
``` js
// elemS, not elem
normalize({block: 'i…
eGavr updated
8 years ago
-
There are cases when several entities depend on other entity.
The dependency should be added only when both entities are in declaration.
**Example:**
``` js
var bemDeps = require('@bem/deps');
va…
blond updated
8 years ago
-
check if all bem entities found in css tech are present in deps.js
blond updated
8 years ago