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

Convert hui-vertical-stack-card to TypeScript/LitElement #1846

Merged
merged 1 commit into from
Oct 24, 2018

Conversation

iantrich
Copy link
Member

Failed to rebase previous branch and am taking my working changes and applying to a new branch based off of current master.

Updated tslint.json to allow for prefixed _ to variable names

#1828

Failed to rebase previous branch and am taking my working changes and applying to a new branch based off of current master.

Updated tslint.json to allow for prefixed `_` to variable names

set hass(hass: HomeAssistant) {
this._hass = hass;
for (const el of this.shadowRoot!.querySelectorAll("#root > *")) {
Copy link
Member

Choose a reason for hiding this comment

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

I realized by reading #1792 that hass can be set before we have rendered for the first time, so we should actually check if (this.shadowRoot)

Copy link
Member

Choose a reason for hiding this comment

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

Actually, no, nevermind. shadowRoot is attached in the constructor. We might just not have rendered yet, which is fine because it means we just find nothing

@balloob
Copy link
Member

balloob commented Oct 24, 2018

Looks great 🎉

@balloob balloob mentioned this pull request Oct 24, 2018
@balloob
Copy link
Member

balloob commented Oct 24, 2018

Fixed linting errors in #1849

@balloob balloob merged commit cf2171e into home-assistant:master Oct 24, 2018
@ghost ghost removed the in progress label Oct 24, 2018
@iantrich iantrich deleted the vertical-typescript branch October 27, 2018 20:05
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants