Closed qfox closed 7 years ago
Since: https://github.com/bem/bem-xjst/commit/9d230c552f0f5fd46cf2a8f90f7ed987c4391836 Because of: https://github.com/bem/bem-xjst/blob/master/lib/bemxjst/index.js#L519
https://goo.gl/2Nx5M1
[{ block: 'test', cols: ['a', 'b'] }];
block('test')( content()(() => apply('cols') .map(c => ({ block: c }))))
Unknown mode exception
<div class="test"> <div class="a"></div> <div class="b"></div> </div>
Throw somewhere here: https://github.com/bem/bem-xjst/blob/master/lib/bemxjst/index.js#L519
Current master
Fixed in #488
Input code or something about issue background
Since: https://github.com/bem/bem-xjst/commit/9d230c552f0f5fd46cf2a8f90f7ed987c4391836 Because of: https://github.com/bem/bem-xjst/blob/master/lib/bemxjst/index.js#L519
https://goo.gl/2Nx5M1
Expected Behavior
Unknown mode exception
Actual Behavior
Possible Solution
Throw somewhere here: https://github.com/bem/bem-xjst/blob/master/lib/bemxjst/index.js#L519
Your Environment
Current master