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
1 changed files with 1 additions and 1 deletions

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