Closed qfox closed 9 years ago
@zxqfox I know that's a pain but you may build templates in dev mode and find the very line
@tadatuta I think we should notice in docs that menu
supports ONLY objects with content
field: https://github.com/bem/bem-components/blob/v2/common.blocks/menu/menu.bemhtml#L18 Or just fix that ;-)
/cc @innabelaya
Лучше добавить в документацию.
https://github.com/bem/bem-components/blob/v2/common.blocks/menu/menu.en.md#custom-fields-of-the-block
content
Array
The array of the menu items.
https://github.com/bem/bem-components/blob/v2/common.blocks/menu/menu.ru.md#custom-fields-of-the-block
content
Array
Массив пунктов меню.
@hcodes у нас часто видно assertы ругаются. В случае меню с элементами — может тоже добавим?
Хорошо, добавлю.
Fixes #1335
@hcodes добавила описание #1336
I have bemjson
It doesn't even be rendered and fails with some dirty error in compiled file ;-(
Can we do something with this while we can't build source maps and resolve real filename and real string?