Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Auto inject script#54

Open
Viscosity4373 wants to merge 4 commits intojoernroeder:masterfrom
Viscosity4373:auto-inject-script
Open

Auto inject script#54
Viscosity4373 wants to merge 4 commits intojoernroeder:masterfrom
Viscosity4373:auto-inject-script

Conversation

@Viscosity4373
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants