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

feat: improve LitElement identification #206

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Conversation

jpradelle
Copy link
Contributor

Improve algorithm to identify whether a class is a LitElement or not.

This should help with issue #148

src/util.ts Outdated Show resolved Hide resolved
src/util.ts Outdated Show resolved Hide resolved
@43081j
Copy link
Owner

43081j commented Aug 19, 2024

sorry it took so long to get to this. i've been away for the past month mostly

i think the idea is good, we just need to shuffle some code around

@jpradelle
Copy link
Contributor Author

I pushed a fix, it's cleaner like that :)
There was in fact no need of checking parent node element.

@43081j 43081j merged commit 50f05d2 into 43081j:master Aug 29, 2024
4 checks passed
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