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: allow for synchronous loading and appending to head #30

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

gigaSproule
Copy link
Contributor

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature
  • What is the current behavior? (You can also link to an open issue here)
    Currently, the only way to load the script is asynchronously and appending the script to the document body.
    Linked issue; Throws undefined errors when using Gatsby #29
  • What is the new behavior (if this is a feature change)?
    Optionally load the script synchronously and optionally append the script to the document head. By default, it will still load asynchronously and appending to the document body.
  • Other information:

@aaronhayes aaronhayes merged commit d66a4d2 into aaronhayes:master Sep 21, 2021
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.

None yet

2 participants