mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #573 from MetaMask/kumavis-patch-1
inpage - cleanContextForImports fix
This commit is contained in:
commit
9dad3a5917
@ -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