i-bem: use resetApplyNext before entering content#899
Conversation
|
cc @veged, this is what you has dreamt about :D |
|
👍 :-D |
contentcontent
|
Turns out |
5dce5f1 to
edfc122
Compare
|
Updated PR, please re-review. ;) |
There was a problem hiding this comment.
why not just applyNext({ 'ctx.tag': 'span' }) without local?
|
@veged: done |
|
we also need to do same in https://github.com/bem/bem-core/blob/feature/skip-apply-next-in-content/common.blocks/i-bem/i-bem.bemtree and separate pull request for |
|
@indutny ping |
|
@indutny also we need the same in bem-bl. |
|
Guys?.. |
|
@indutny ping? |
|
Going to land it everywhere soon ;) Sorry for the waiting. |
|
@veged pushed commit for bemtree |
|
PR for v3: #1085 |
Skip all `applyNext()` flags before entering the `content` to support recursive blocks with `applyNext()` (see test).
6460deb to
b1dc50c
Compare
|
Old xjst support: veged/xjst@3cc9749 |
|
Ooops, decided to do it in 0.10 branch instead. |
|
Here it goes: veged/xjst@3169083 |
|
Here goes the bem-bl patch: bem/bem-bl#653 . Sorry for a looong delay, it must have been very frustrating for you. |
i-bem: use resetApplyNext before entering `content`
Skip all
applyNext()flags before entering thecontentto supportrecursive blocks with
applyNext()(see test).Depends on: veged/xjst#41