Skip to content
New issue

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

Created script node is evaluated immediately #43

Open
aichi opened this issue Nov 16, 2011 · 0 comments
Open

Created script node is evaluated immediately #43

aichi opened this issue Nov 16, 2011 · 0 comments

Comments

@aichi
Copy link

aichi commented Nov 16, 2011

We have in our script something like:

var e = document.createElement("script");
e.text ="X";

After running this code via Env-js Rhino complains that X is not defined, it means that this created Script node is evaluated immediately even if it is not attached to document. That is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant