diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-26 23:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 23:46:46 +0100 |
commit | 462ce14a78b4109143918878042b9f552083c82e (patch) | |
tree | 64c65d91557159efccb40117e340e7abbb08d75d /ext/webstorage/01_webstorage.js | |
parent | d889f996577a6345d08c4ce71063be6d765fb5ec (diff) |
refactor: migrate extensions to virtual ops module (#22135)
First pass of migrating away from `Deno.core.ensureFastOps()`.
A few "tricky" ones have been left for a follow up.
Diffstat (limited to 'ext/webstorage/01_webstorage.js')
-rw-r--r-- | ext/webstorage/01_webstorage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/webstorage/01_webstorage.js b/ext/webstorage/01_webstorage.js index d5e94aaee..635e80d6e 100644 --- a/ext/webstorage/01_webstorage.js +++ b/ext/webstorage/01_webstorage.js @@ -2,8 +2,8 @@ /// <reference path="../../core/internal.d.ts" /> -import { core, primordials } from "ext:core/mod.js"; -const { +import { primordials } from "ext:core/mod.js"; +import { op_webstorage_clear, op_webstorage_get, op_webstorage_iterate_keys, @@ -11,7 +11,7 @@ const { op_webstorage_length, op_webstorage_remove, op_webstorage_set, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { Symbol, SymbolFor, |