1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

inpage - cleanContextForImports fix

set to undefined instead of deleting
updates #447
This commit is contained in:
kumavis 2016-08-22 19:22:12 -07:00 committed by GitHub
parent f9c58c0746
commit 8b9999b71e

View File

@ -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.')
}