Closed veged closed 9 years ago
We can introduce short-cut for cases like:
block('b1').def()(function() { applyCtx(...) })
block('b1').replace()(function() { return ... })
Moreover, we can make short-cut for another common case:
block('b1').def()(function() { applyCtx(this.extend(this.ctx, ...)) })
block('b1').extend()(function() { return ... })
cc @dfilatov @narqo @mishanga
moved to https://github.com/bem/bem-xjst/issues/22
We can introduce short-cut for cases like:
Moreover, we can make short-cut for another common case:
cc @dfilatov @narqo @mishanga