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

BEMHTML: should properly render attr values #183

Merged
merged 1 commit into from
Jan 22, 2016
Merged

Conversation

miripiruni
Copy link
Contributor

Fix for #172

@@ -710,6 +710,41 @@ describe('BEMHTML compiler/Runtime', function() {
test(function() {
}, { tag: 'span', attrs: { a: 'b' } }, '<span a="b"></span>');
});

it('should properly render undefined as attrs value', function () {
Copy link
Member

Choose a reason for hiding this comment

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

I'd wrap these all into the describe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@zxqfox I can do it, but I think it’s useless because of #167

@veged
Copy link
Member

veged commented Jan 22, 2016

LGTM

miripiruni added a commit that referenced this pull request Jan 22, 2016
BEMHTML: should properly render attr values
@miripiruni miripiruni merged commit b998469 into v4.x Jan 22, 2016
@miripiruni miripiruni deleted the issue-172__attrs-value branch January 22, 2016 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants