summaryrefslogtreecommitdiff
path: root/ext/web/16_image_data.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/16_image_data.js')
-rw-r--r--ext/web/16_image_data.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/web/16_image_data.js b/ext/web/16_image_data.js
index c7f8795f5..3dc6a46da 100644
--- a/ext/web/16_image_data.js
+++ b/ext/web/16_image_data.js
@@ -1,9 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import * as webidl from "ext:deno_webidl/00_webidl.js";
-import { DOMException } from "ext:deno_web/01_dom_exception.js";
-import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
-const primordials = globalThis.__bootstrap.primordials;
+import { primordials } from "ext:core/mod.js";
const {
ObjectPrototypeIsPrototypeOf,
SymbolFor,
@@ -12,6 +9,10 @@ const {
Uint8ClampedArray,
} = primordials;
+import * as webidl from "ext:deno_webidl/00_webidl.js";
+import { DOMException } from "ext:deno_web/01_dom_exception.js";
+import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
+
webidl.converters["PredefinedColorSpace"] = webidl.createEnumConverter(
"PredefinedColorSpace",
[