From 32c511b0c57ebcb37a7593a6b8f07d0035ef74a9 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 23 Sep 2022 11:58:16 +1000 Subject: typos --- common/checks.js | 2 +- main_background.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/checks.js b/common/checks.js index 503258d..67c835b 100644 --- a/common/checks.js +++ b/common/checks.js @@ -23,7 +23,7 @@ const acorn = require('acorn'); const { licenses } = require('./license_definitions.js'); const { patternUtils } = require('./pattern_utils.js'); -const { makeDebugLogger } = require('./common/debug.js'); +const { makeDebugLogger } = require('./debug.js'); const fnameData = require('./fname_data.json').fname_data; const LIC_RE = /@licstartThefollowingistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)(.*)?@licendTheaboveistheentirelicensenoticefortheJavaScriptcodeinthis(?:page|file)/mi; diff --git a/main_background.js b/main_background.js index 0cdb1c1..361a933 100644 --- a/main_background.js +++ b/main_background.js @@ -680,7 +680,7 @@ async function editHtml(html, documentUrl, tabId, frameId, whitelisted) { return null; } - const scripts = htmlDoc.scripts; + let scripts = htmlDoc.scripts; const metaElement = htmlDoc.getElementById('LibreJS-info'); let firstScriptSrc = ''; -- cgit v1.2.3