Skip to content
Snippets Groups Projects
Commit a563651f authored by deuce's avatar deuce
Browse files

We do *not* want JSOPTION_VAROBJFIX set since it causes variables to be

created in the global scope when when a scope is passed to load(), require()
or js.exec().

While having 'var x = 0;' and 'x = 0;' put x in different scopes is bad, we
actually want them all in the passed scope, not the global scope... and that's
not an option.

It looks like js.exec() will actually need to set scope as the global object
and add a second global object to the original scope.
parent f8381a4f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment