diff options
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/11_workers.js | 1 | ||||
-rw-r--r-- | runtime/js/40_http.js | 1 | ||||
-rw-r--r-- | runtime/js/40_testing.js | 2 | ||||
-rw-r--r-- | runtime/js/99_main.js | 2 |
4 files changed, 2 insertions, 4 deletions
diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index dca83c818..641833778 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -7,7 +7,6 @@ const { getLocationHref } = window.__bootstrap.location; const { log, pathFromURL } = window.__bootstrap.util; const { defineEventHandler } = window.__bootstrap.webUtil; - const build = window.__bootstrap.build.build; function createWorker( specifier, diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js index afc5635ac..eb3c58a63 100644 --- a/runtime/js/40_http.js +++ b/runtime/js/40_http.js @@ -77,6 +77,7 @@ } [Symbol.asyncIterator]() { + // deno-lint-ignore no-this-alias const httpConn = this; return { async next() { diff --git a/runtime/js/40_testing.js b/runtime/js/40_testing.js index f835a0cf7..8abb8a6c8 100644 --- a/runtime/js/40_testing.js +++ b/runtime/js/40_testing.js @@ -4,7 +4,7 @@ ((window) => { const core = window.Deno.core; const { parsePermissions } = window.__bootstrap.worker; - const { setExitHandler, exit } = window.__bootstrap.os; + const { setExitHandler } = window.__bootstrap.os; const { Console, inspectArgs } = window.__bootstrap.console; const { metrics } = window.__bootstrap.metrics; const { assert } = window.__bootstrap.util; diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 082c83593..796d5178f 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -59,8 +59,6 @@ delete Object.prototype.__proto__; } } - const encoder = new TextEncoder(); - function workerClose() { if (isClosing) { return; |