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 several issues in Document.currentScript #20852

Merged
merged 1 commit into from
Sep 18, 2022
Merged

Conversation

mfuji09
Copy link
Contributor

@mfuji09 mfuji09 commented Sep 18, 2022

Description

Fix several issues in Document.currentScript

  • make import.meta as a code
  • use HTMLScriptElement instead of <script>

Motivation

Additional details

Related issues and pull requests

- make `import.meta` as a code
- use `HTMLScriptElement` instead of `<script>`
@mfuji09 mfuji09 requested a review from a team as a code owner September 18, 2022 07:01
@mfuji09 mfuji09 requested review from jpmedley and removed request for a team September 18, 2022 07:01
@github-actions github-actions bot added the Content:WebAPI Web API docs label Sep 18, 2022
@github-actions
Copy link
Contributor

Preview URLs

External URLs

URL: /en-US/docs/Web/API/Document/currentScript
Title: Document.currentScript

@Josh-Cena Josh-Cena merged commit f6a1d96 into mdn:main Sep 18, 2022
himanshugarg pushed a commit to himanshugarg/content that referenced this pull request Sep 27, 2022
- make `import.meta` as a code
- use `HTMLScriptElement` instead of `<script>`
@mfuji09 mfuji09 deleted the patch-1 branch October 22, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants