summaryrefslogtreecommitdiff
path: root/ext/web/12_location.js
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-01-11 07:37:25 +0900
committerGitHub <noreply@github.com>2024-01-10 15:37:25 -0700
commit515a34b4de222e35c7ade1b92614d746e73d4c2e (patch)
tree8284201fc826a33f12597959a8a8be14e0f524bd /ext/web/12_location.js
parentd4893eb51a01c5a692d8ca74a3b8ff95c5fd1d9f (diff)
refactor: use `core.ensureFastOps()` (#21888)
Diffstat (limited to 'ext/web/12_location.js')
-rw-r--r--ext/web/12_location.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/web/12_location.js b/ext/web/12_location.js
index 5cc850262..b3417ce6e 100644
--- a/ext/web/12_location.js
+++ b/ext/web/12_location.js
@@ -2,8 +2,6 @@
/// <reference path="../../core/internal.d.ts" />
-import { URL } from "ext:deno_url/00_url.js";
-import { DOMException } from "ext:deno_web/01_dom_exception.js";
import { primordials } from "ext:core/mod.js";
const {
Error,
@@ -17,6 +15,9 @@ const {
WeakMapPrototypeSet,
} = primordials;
+import { URL } from "ext:deno_url/00_url.js";
+import { DOMException } from "ext:deno_web/01_dom_exception.js";
+
const locationConstructorKey = Symbol("locationConstructorKey");
// The differences between the definitions of `Location` and `WorkerLocation`