We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro code:
var vm = require('vm'); var foo = vm.runInNewContext('foo = "bar"'); console.log(foo);
In Node:
$ node t bar
In the browser, via Browserify:
TypeError: Cannot set property 'foo' of undefined
The text was updated successfully, but these errors were encountered:
Only copy ctx properties when context is defined
context
b9c1cc7
Fixes browserify#12.
Successfully merging a pull request may close this issue.
Repro code:
In Node:
In the browser, via Browserify:
The text was updated successfully, but these errors were encountered: