Closed vkz closed 9 years ago
assertHasBlock
block
assertNoThisElem
this.elem
applySetsMode
apply
applyCheckFields
elem
mods
elemMods
returnFromDef
return
def
return ''
assertNoBuf
this._buf
applySetsMode and applyCheckFields are just checks that only warn, never assert. Both work but I'm not adding them to test-suite explicitly (for now).
warn
assert
assertHasBlock
assert that every template has sub-predicate matchingblock
assertNoThisElem
assert there're no predicates matchingthis.elem
https://github.com/bem/bem-xjst/issues/89applySetsMode
assert that everyapply
sets the mode as its first argument https://github.com/bem/bem-xjst/issues/91applyCheckFields
warn whenapply
assignsblock
,elem
,mods
,elemMods
https://github.com/bem/bem-xjst/issues/73returnFromDef
ensure there's alwaysreturn
indef
mode. Insertreturn ''
when there is noneassertNoBuf
assertthis._buf
is never used in templates