-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support bem-xjst 8.x #2010
Support bem-xjst 8.x #2010
Conversation
👍 Ready to merge? |
@@ -62,16 +62,19 @@ module.exports = { | |||
'applyCtx', | |||
'applyNext', | |||
'attrs', | |||
'addAttrs', | |||
'bem', | |||
'block', | |||
'cls', | |||
'content', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appendContent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…and prependContent
'local', | ||
'match', | ||
'mix', | ||
'addMix', | ||
'mod', | ||
'mode', | ||
'tag', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess we should drop once
and extend
probably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extend
continue exists
common.blocks/menu/menu.bemhtml.js
Outdated
@@ -46,10 +46,12 @@ block('menu')( | |||
attrs['aria-disabled'] = 'true' : | |||
attrs.tabindex = 0; | |||
|
|||
return attrs; | |||
// extend in backwards order: | |||
// bemjson have more priority |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bemjson haS
b75be6a
to
b3c8ec4
Compare
Closes #1942
Cherry-pick of #1996 by @miripiruni
Showcase is available