aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-08-23 10:22:12 +0800
committerGitHub <noreply@github.com>2016-08-23 10:22:12 +0800
commit8b9999b71eab07187e2723aadcc8163140985301 (patch)
treeb0e30846826f8bcf31e1afad4a59e9dee0d50602
parentf9c58c07466d181a895cd38b1c3049a11e02cb99 (diff)
downloadtangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar.gz
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar.bz2
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar.lz
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar.xz
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.tar.zst
tangerine-wallet-browser-8b9999b71eab07187e2723aadcc8163140985301.zip
inpage - cleanContextForImports fix
set to undefined instead of deleting updates #447
-rw-r--r--app/scripts/inpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index 7c508c66f..28a1223ac 100644
--- a/app/scripts/inpage.js
+++ b/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.')
}