-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
BemjsonNode.assign(Object<{block: ?, elem: ?, ...}>, BemjsonNode<{block: 'b1'}>);
assign({mods: {a: 'b'}}, new BemjsonNode({block: 'b1', mods: {x: 'y'}, elem: 'e2'}));
// → ERROR
assign({elemMods: {a: 'b'}}, new BemjsonNode({block: 'b1', mods: {x: 'y'}, elem: 'e2'}));
// → BemjsonNode<{block: 'b1', elem: '2', elemMods: {a: 'b'}}>Check other cases at http://bem.github.io/bem-xjst/
Metadata
Metadata
Assignees
Labels
No labels