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

Auto inject script #54

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fargerio
Copy link

As discussed in #48, injection fails if the document does not contain a script tag.
(For example in test suites with jsdom)

This simply checks for presence of a script tag and appends a new script tag if none is found.

@coveralls
Copy link

coveralls commented Jun 15, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 4eaca03 on Klimakoenner:auto-inject-script into 9e618ad on joernroeder:master.

@joernroeder
Copy link
Owner

hey, thanks for your contribution and looking into this! i never felt comfortable with my hack and will review this pr within the next days. i was simply to busy in the past few weeks.

@cafca
Copy link

cafca commented Apr 15, 2020

Hey! I would really appreciate if you could merge this fix. Can I help with this in any way? @joernroeder

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.

4 participants