Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(parse): should return BemEntityName object #148

Merged
merged 3 commits into from Dec 10, 2016
Merged

feat(parse): should return BemEntityName object #148

merged 3 commits into from Dec 10, 2016

Conversation

blond
Copy link
Member

@blond blond commented Dec 9, 2016

Resolved #126
Resolved #95

Copy link
Member

@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.

:shipit:

@@ -26,38 +26,74 @@ The `bem-naming` module did more than just `parse` and `stringify` BEM names.

* **[major]** Removed `typeOf` method (@blond [#98]).

To work with BEM entities there are packages [@bem/entity](https://github.com/bem-sdk/bem-entity) and [@bem/entity-name](https://github.com/bem-sdk/bem-entity-name).
To work with BEM entities there are packages [@bem/entity](https://github.com/bem-sdk/bem-entity) and [@bem/entity-name](https://github.com/bem-sdk/bem-entity-name).
Copy link
Member

Choose a reason for hiding this comment

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

Может вместо болдов сделать заголовки честными заголовками разного уровня и избавить от этого странного индента?

Copy link
Member Author

Choose a reason for hiding this comment

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

Какие будут заголовки?


[#98]: https://github.com/bem-sdk/bem-naming/issues/98

* **[major]** The `parse` method returns [BemEntityName](https://github.com/bem-sdk/bem-entity-name) object (@blond [#126]).

It will allow use helpers of `BemEntityName`.
Copy link
Member

Choose a reason for hiding this comment

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

allow use -> allow to use


It will allow use helpers of `BemEntityName`.

**Important:** in `BemEntityName` the `modName` and `modVal` fields are deprecated. Need use the `mod` field instead ([#95]).
Copy link
Member

Choose a reason for hiding this comment

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

Need use the mod field instead

@blond
Copy link
Member Author

blond commented Dec 10, 2016

🆙

@blond blond merged commit 98eaf73 into 2.x Dec 10, 2016
@blond blond deleted the issue-126 branch December 10, 2016 09:41
This was referenced Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants