Closed 4ok closed 8 years ago
@4ok https://github.com/bem/bem-xjst/blob/master/CHANGELOG.md#2016-01-29-v500-miripiruni It’s not about this?
@4ok ping
Feel free to reopen if it’s not clear.
@miripiruni not it is
I'm sorry for the delay
Bem-xjst version: 7.0.4
This construction is not work if elem is inside of the another block, for example it is inside of 'block-name-inside'
Bemjson:
{
block : 'block-name',
mods : {
'mod-name' : 'mod-val'
},
content : [
{
block : 'block-name-inside',
content : [
{
block : 'block-name',
elem : 'elem-name',
}
]
}
]
}
Bemhtml:
block('block-name').mod('mod-name', 'mod-val').elem('elem-name')(
content()('THIS CONSTRUCTION IS NOT WORK')
)
Sorry I understand. it was necessary to add mix to child block. This work example.
block('block-name').mod('mod-name', 'mod-val').elem('elem-name')
This construction not work