vm-browserify
Advanced tools
Comparing version 0.0.3 to 0.0.4
11
index.js
@@ -64,2 +64,8 @@ var indexOf = require('indexof'); | ||
var wEval = win.eval, wExecScript = win.execScript; | ||
if (!wEval && wExecScript) { | ||
// win.eval() magically appears when this is called in IE: | ||
wExecScript.call(win, 'null'); | ||
wEval = win.eval; | ||
} | ||
@@ -74,7 +80,2 @@ forEach(Object_keys(context), function (key) { | ||
}); | ||
if (!wEval && wExecScript) { | ||
// win.eval() magically appears when this is called in IE: | ||
wExecScript.call(win, 'null'); | ||
} | ||
@@ -81,0 +82,0 @@ var winKeys = Object_keys(win); |
{ | ||
"name": "vm-browserify", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "vm module for the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
21516
9
544