Remove some code that was only needed cos old edge
This commit is contained in:
parent
0edd82479e
commit
965a48c086
@ -2,9 +2,7 @@
|
|||||||
* NOTE: we cannot get rid of this js file. I tried for 30 seconds and I couldn't get
|
* 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.
|
* extension to work unless I kept this part of extension out of the ts file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import UWContent from './UWContent';
|
import UWContent from './UWContent';
|
||||||
import BrowserDetect from './conf/BrowserDetect';
|
|
||||||
|
|
||||||
if(process.env.CHANNEL !== 'stable'){
|
if(process.env.CHANNEL !== 'stable'){
|
||||||
console.warn("\n\n\n\n\n\n ——— Sᴛλʀᴛɪɴɢ Uʟᴛʀᴀᴡɪᴅɪꜰʏ ———\n << ʟᴏᴀᴅɪɴɢ ᴍᴀɪɴ ꜰɪʟᴇ >>\n\n\n\n");
|
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();
|
const main = new UWContent();
|
||||||
main.init();
|
main.init();
|
||||||
|
Loading…
Reference in New Issue
Block a user