From 3fc19dab47492e06043fc7add28e64693a4eb775 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 7 Sep 2023 08:09:16 -0500 Subject: feat: support import attributes (#20342) --- ext/websocket/01_websocket.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/websocket/01_websocket.js') diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js index bb1624f22..5f0f648a7 100644 --- a/ext/websocket/01_websocket.js +++ b/ext/websocket/01_websocket.js @@ -1,6 +1,5 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -// deno-lint-ignore-file camelcase /// const core = globalThis.Deno.core; @@ -46,8 +45,7 @@ const { SymbolFor, TypedArrayPrototypeGetByteLength, } = primordials; -const op_ws_check_permission_and_cancel_handle = - core.ops.op_ws_check_permission_and_cancel_handle; +const { op_ws_check_permission_and_cancel_handle } = core.ops; const { op_ws_create, op_ws_close, -- cgit v1.2.3