summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/40_tty.js7
-rw-r--r--runtime/js/98_global_scope_shared.js2
-rw-r--r--runtime/js/98_global_scope_window.js6
-rw-r--r--runtime/js/98_global_scope_worker.js6
4 files changed, 9 insertions, 12 deletions
diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js
index d6777a62d..5b8bbc0be 100644
--- a/runtime/js/40_tty.js
+++ b/runtime/js/40_tty.js
@@ -1,9 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core, internals, primordials } from "ext:core/mod.js";
-const {
- op_console_size,
- op_is_terminal,
-} = core.ensureFastOps(true);
+import { internals, primordials } from "ext:core/mod.js";
+import { op_console_size, op_is_terminal } from "ext:core/ops";
const {
Uint32Array,
} = primordials;
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) {
diff --git a/runtime/js/98_global_scope_window.js b/runtime/js/98_global_scope_window.js
index 63b346dd5..1f8fae664 100644
--- a/runtime/js/98_global_scope_window.js
+++ b/runtime/js/98_global_scope_window.js
@@ -1,11 +1,11 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core, primordials } from "ext:core/mod.js";
-const {
+import { primordials } from "ext:core/mod.js";
+import {
op_bootstrap_language,
op_bootstrap_numcpus,
op_bootstrap_user_agent,
-} = core.ensureFastOps(true);
+} from "ext:core/ops";
const {
ObjectDefineProperties,
ObjectPrototypeIsPrototypeOf,
diff --git a/runtime/js/98_global_scope_worker.js b/runtime/js/98_global_scope_worker.js
index d43af4faf..df08f7b15 100644
--- a/runtime/js/98_global_scope_worker.js
+++ b/runtime/js/98_global_scope_worker.js
@@ -1,11 +1,11 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core, primordials } from "ext:core/mod.js";
-const {
+import { primordials } from "ext:core/mod.js";
+import {
op_bootstrap_language,
op_bootstrap_numcpus,
op_bootstrap_user_agent,
-} = core.ensureFastOps(true);
+} from "ext:core/ops";
const {
ObjectDefineProperties,
ObjectPrototypeIsPrototypeOf,