From 965a48c0867e6b4b8ebca392a828488da83293a4 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 12 Apr 2021 20:54:42 +0200 Subject: [PATCH] Remove some code that was only needed cos old edge --- src/ext/uw.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ext/uw.js b/src/ext/uw.js index 70d14af..6a9da5f 100644 --- a/src/ext/uw.js +++ b/src/ext/uw.js @@ -2,9 +2,7 @@ * NOTE: we cannot get rid of this js file. I tried for 30 seconds and I couldn't get * extension to work unless I kept this part of extension out of the ts file. */ - import UWContent from './UWContent'; -import BrowserDetect from './conf/BrowserDetect'; if(process.env.CHANNEL !== 'stable'){ console.warn("\n\n\n\n\n\n ——— Sᴛλʀᴛɪɴɢ Uʟᴛʀᴀᴡɪᴅɪꜰʏ ———\n << ʟᴏᴀᴅɪɴɢ ᴍᴀɪɴ ꜰɪʟᴇ >>\n\n\n\n"); @@ -20,9 +18,5 @@ if(process.env.CHANNEL !== 'stable'){ } } -if (BrowserDetect.edge) { - HTMLCollection.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator]; -} - const main = new UWContent(); main.init();