Skip to content
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

i-bem.bemhtml: Do not repeat block class on mix with same block's mod #626

Open
wants to merge 2 commits into
base: support/2.x
Choose a base branch
from

Conversation

mshustov
Copy link
Contributor

No description provided.

Conflicts:
	blocks-common/i-bem/__html/i-bem__html.bemhtml
	blocks-common/i-bem/__html/test/files/i-bem/gh-core-804.html
	blocks-common/i-bem/__html/test/files/i-bem/gh-core-804.json
@mshustov
Copy link
Contributor Author

all tmpl-specs in islands-* are passed

var hasItem = mixItem.block || mixItem.elem,
var hasItem = (mixItem.block && (this.block !== v.block || mixItem.block !== this.block))
|| (this.elem && (!mixItem.elemMods && !mixItem.mods))
|| mixItem.elem ,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space before ,

@deeonis
Copy link
Contributor

deeonis commented Jun 10, 2015

BEM-2210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants