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

[Glimmer 2] Add support for dynamic tagName #13145

Merged
merged 1 commit into from
Mar 21, 2016
Merged

Conversation

chancancode
Copy link
Member

No description provided.

chancancode added a commit that referenced this pull request Mar 21, 2016
[Glimmer 2] Add support for dynamic `tagName`
@chancancode chancancode merged commit f3eea41 into master Mar 21, 2016
@chancancode chancancode deleted the dynamic-tag-name branch March 21, 2016 02:50
throw new Error('Not implemented: fragments (`tagName: ""`)');
}

return new ValueReference(tagName || 'div');
Copy link
Member

Choose a reason for hiding this comment

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

Technically, we need to support falsey tag name (tagName: '') so this will need to be tweaked as we move forward right?

Copy link
Member

Choose a reason for hiding this comment

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

I think we also support tagName as a CP (though that should be deprecated and unlikely)

Copy link
Member Author

Choose a reason for hiding this comment

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

Confirm. We are just throwing (on line 84) for now so that whoever running into this will not be confused

Copy link
Member

Choose a reason for hiding this comment

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

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.

2 participants