Bypass vm module use for ChakraNode.

This commit is contained in:
jdalton
2015-05-13 21:04:51 -07:00
parent abee7fdfa2
commit 12081c9bd6

View File

@@ -542,6 +542,9 @@
// Add other realm values from the `vm` module.
_.attempt(function() {
if (process.jsEngine == 'chakra') {
return;
}
_.extend(_, require('vm').runInNewContext([
'(function() {',
' var object = {',