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

(fix) deal with multiple script tags #193

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

dummdidumm
Copy link
Member

All script tags, no matter at what level, are listed within the root children.
To get the top level scripts, filter out all those that are part of children's children.
Those have another type ('Element' with name 'script').

Fixes #143

All script tags, no matter at what level, are listed within the root children.
To get the top level scripts, filter out all those that are part of children's children.
Those have another type ('Element' with name 'script').

Fixes sveltejs#143
@dummdidumm dummdidumm merged commit da2f54d into sveltejs:master Jun 15, 2020
@dummdidumm dummdidumm deleted the fix-toplevel-script branch June 23, 2020 08:16
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.

Unexpected token. Did you mean {'>'} or >?
1 participant