-
**Methods:**
- [ ] toFiles
- [ ] toFilesSync
The method should get files by declaration.
```
.
├── common.blocks/
│ └── block/
│ ├── block.css/
│ └── block.js/
└── bemconf.json
```
``…
blond updated
7 years ago
-
На уровне переименования директорий и файлов, безотносительно контента.
-
Support wildcards for `next` format.
**Methods:**
- [ ] `glob(decl, callback)`
- [ ] `globSync(decl)`
The method should to fill declaration entities by file system.
```
.
├── common.blocks/
│ └──…
blond updated
7 years ago
-
Maybe we should normalize bem decl with new notation?
`const decl = require('bem-decl').normalizer('v2');`
`...`
`const declNormalize = data => decl(data).map(e => (e.entity.tech = e.tech, e.entity))…
-
We have `i-bem.vanilla.js` that provides DOM-independent BEM framework.
Since we have the modular system, we don't need to use the `i-bem` module for creating BEM-entities without DOM representation…
-
I set `declVersion` to `v1`.
My bemdecl:
``` js
exports.blocks = [{ name: 'root' }];
```
I got this error:
```
Error: This is not valid BEM entity: the field `block` is undefined.
```
-
При попытке запуска через gulp или npm start всё падает..
```
~/sandbox/project-stub on ⭠ master! ⌚ 15:28:55
$ gulp
[15:29:05] Using gulpfile ~/sandbox/project-stub/gulpfile.js
[15:29:05] St…
-
A sentence that works in SICK-SANE is
+# text = People are walking
+1 People people NOUN NNS _ 3 nsubj _ NNS|07942152-n|GroupOfPeople=
+2 are be VERB VBP _ 3 aux _ VBP|02604760-v|Entity+
+3 …
-
Right now there are too many ways to use bem-events (directly and indirectly). We should rethink API.
### Current state
- `MyBlock.on('click', ...)` -- bind to all instances of `MyBlock`
- `MyBlock.on…
veged updated
8 years ago
-
We should move `typeOf` method from `bem-naming` (https://github.com/bem-sdk/bem-naming/issues/98).
**API:**
``` js
const BemEntityPart = require('bem-entity-part');
BemEntityPart.typeOf({ block: '…
blond updated
8 years ago