browserify / vm-browserify

require('vm') like in node but for the browser
MIT License
201 stars 37 forks source link

TypeError: Cannot convert object to primitive value #4

Closed amasad closed 10 years ago

amasad commented 10 years ago

When running runInContext twice it will try to copy objects circular objects like window and will throw an error. Program should be smarter about which it properties it copies back from window to context after eval.