mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
inpage - cleanContextForImports fix
set to undefined instead of deleting updates #447
This commit is contained in:
parent
f9c58c0746
commit
8b9999b71e
@ -54,7 +54,7 @@ var __define
|
||||
function cleanContextForImports () {
|
||||
__define = global.define
|
||||
try {
|
||||
delete global.define
|
||||
global.define = undefined
|
||||
} catch (_) {
|
||||
console.warn('MetaMask - global.define could not be deleted.')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user