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

BEMTREE: modes related to data added #382

Merged
merged 1 commit into from
Dec 8, 2016
Merged

Conversation

miripiruni
Copy link
Contributor

@miripiruni miripiruni commented Nov 10, 2016

We want have modes related to data: js(), addJs(), mix(), addMix(), mods(), addElemMods(), elemMods().

  • Documentation
  • Tests

Fixed: #362
See also: #332

@miripiruni miripiruni force-pushed the bemtree-modes__issue-362 branch 3 times, most recently from d0bc13c to 9ef4255 Compare November 10, 2016 13:18
@miripiruni miripiruni changed the title BEMTREE: introduce bem(), js(), mix() and attrs() modes BEMTREE: the same modes as for BEMHTML Nov 10, 2016
@miripiruni miripiruni changed the title BEMTREE: the same modes as for BEMHTML BEMTREE: modes related to data added Dec 7, 2016
@miripiruni
Copy link
Contributor Author

cc @tadatuta

@coveralls
Copy link

coveralls commented Dec 8, 2016

Coverage Status

Coverage increased (+0.004%) to 97.041% when pulling dec245d on bemtree-modes__issue-362 into fb12745 on master.

@@ -726,7 +726,8 @@ More information about [apply()](7-runtime.md#apply).

## BEMTREE

Only the [def](#def), [content](#content), [replace](#replace),
In BEMTREE engine only data related modes avaliable: [def](#def), [js](#js), [mix](#mix),
Copy link
Member

Choose a reason for hiding this comment

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

modes avaliable -> modes are avaliable

режимы-хелперы [replace](#replace), [extend](#extend) и [wrap](#wrap). Пользовательские режимы тоже могут быть использованы. Остальные режимы, описанные в документации выше, применимы только к BEMHTML.
В движке BEMTREE используются только режимы ориентированные на данные: [def](#def), [js](#js), [mix](#mix), [mods](#mods), [elemMods](#elemMods), [content](#content) и
режимы-хелперы [replace](#replace), [extend](#extend) и [wrap](#wrap).
Пользовательские режимы тоже могут быть использованы. Остальные режимы
Copy link
Member

Choose a reason for hiding this comment

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

запятая перед «ориентированные»

@coveralls
Copy link

coveralls commented Dec 8, 2016

Coverage Status

Coverage increased (+0.004%) to 97.041% when pulling 70cfeb5 on bemtree-modes__issue-362 into 9652518 on master.

@miripiruni miripiruni added this to the 8.5.0 milestone Dec 8, 2016
@miripiruni miripiruni merged commit a70d794 into master Dec 8, 2016
@miripiruni miripiruni deleted the bemtree-modes__issue-362 branch December 8, 2016 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants