diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 22:02:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 22:02:26 +0100 |
commit | 345423cf7697326258ce8b32f681910f4a2f77de (patch) | |
tree | 484dd157be01e3dc0d4f34f28526dac1804d0250 /runtime/js/98_global_scope_shared.js | |
parent | 909986fa6ed3404e76590438b387391a6c213e46 (diff) |
refactor: Use virtul ops module (#22175)
Follow up to #22157.
This leaves us with 4 usages of `ensureFastOps()` in `deno` itself.
There's also about 150 usages of `Deno.core.ops.<op_name>` left as well.
Diffstat (limited to 'runtime/js/98_global_scope_shared.js')
-rw-r--r-- | runtime/js/98_global_scope_shared.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/98_global_scope_shared.js b/runtime/js/98_global_scope_shared.js index 8ef269539..060369a2e 100644 --- a/runtime/js/98_global_scope_shared.js +++ b/runtime/js/98_global_scope_shared.js @@ -1,6 +1,7 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. import { core } from "ext:core/mod.js"; +import { op_lazy_load_esm } from "ext:core/ops"; import * as util from "ext:runtime/06_util.js"; import * as event from "ext:deno_web/02_event.js"; @@ -35,7 +36,6 @@ import { webgpu, webGPUNonEnumerable } from "ext:deno_webgpu/00_init.js"; import * as webgpuSurface from "ext:deno_webgpu/02_surface.js"; import { unstableIds } from "ext:runtime/90_deno_ns.js"; -const { op_lazy_load_esm } = core.ensureFastOps(true); let image; function ImageNonEnumerable(getter) { |