Closed mishaberezin closed 8 years ago
bem-xjst@1.2.1
BEMJSON:
({ block: 'block', mods: {hello: 'world'}, title: {block: 'i-bem', elem: 'i18n', keyset: 'block', key: 'title'} });
BEMHTML:
block('block')( attrs()(function() { return { title: this.reapply(this.ctx.title) }; }) ); block('block').mod('hello', 'world')( content()(function() { console.log('CONTENT'); }) );
Nothing in console, second template didn't work.
cc @indutny @veged @arikon
Critical for islands. Block link doesn't work in some cases.
islands
link
@indutny Have a look please
Should be fixed by https://github.com/bem/bem-core/pull/1224 as well.
bem-xjst@1.2.1
BEMJSON:
BEMHTML:
Nothing in console, second template didn't work.