Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Comments

[WIP] Update bem-naming to 2.x#16

Open
blond wants to merge 4 commits intomasterfrom
issue-15
Open

[WIP] Update bem-naming to 2.x#16
blond wants to merge 4 commits intomasterfrom
issue-15

Conversation

@blond
Copy link
Member

@blond blond commented Mar 8, 2017

Resolved #15

@blond blond changed the title Update bem-naming to 2.x [WIP] Update bem-naming to 2.x Mar 8, 2017
Copy link
Contributor

@qfox qfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем все эти изменения в тестах?

}

return new BemCell({ entity: new BemEntityName(entity), tech });
if (!BemEntityName.isBemEntityName(entity)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can replace this part of code with BemCell.create({ entity, tech })


const indexBlock = findIndex(decl, { entity: { block: 'block' } });
const indexModifier = findIndex(decl, { entity: { block: 'block', modName: 'mod' } });
const indexModifier = findIndex(decl, { entity: { block: 'block', mod: 'mod' } });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How new version of bem/naming affects this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants