inpage - cleanContextForImports fix

set to undefined instead of deleting
updates #447
feature/default_network_editable
kumavis 8 years ago committed by GitHub
parent f9c58c0746
commit 8b9999b71e
  1. 2
      app/scripts/inpage.js

@ -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…
Cancel
Save