Closed vkz closed 9 years ago
see https://github.yandex-team.ru/lego/islands/pull/509 Compatibility with the latest bem-xjst should be available with relevant flag in the API
block
this.elem
apply
elem
mods
elemMods
def()
applyCtx
this.ctx
wrap()
return
def
return ''
this._buf
apply() checks test:
apply()
block b1 { default: { apply({test: 42, elemMods: 'bla'});} }
see https://github.yandex-team.ru/lego/islands/pull/509 Compatibility with the latest bem-xjst should be available with relevant flag in the API
block
this.elem
https://github.com/bem/bem-xjst/issues/89apply
sets the mode as its first argument https://github.com/bem/bem-xjst/issues/91apply
assignsblock
,elem
,mods
,elemMods
https://github.com/bem/bem-xjst/issues/73def()
+applyCtx
withthis.ctx
inside intowrap()
see article7 in https://github.yandex-team.ru/lego/islands/pull/509return
indef
mode. Insertreturn ''
when there is nonethis._buf
is never used in templates