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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может вместо болдов сделать заголовки честными заголовками разного уровня и избавить от этого странного индента?
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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]). |
There was a problem hiding this comment.
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
🆙 |
Resolved #126
Resolved #95