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

Eval Scope #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Eval Scope #179

wants to merge 2 commits into from

Conversation

sgrtho
Copy link

@sgrtho sgrtho commented Feb 14, 2015

Plain eval reflects to local scope, basically anything can happen. Old or rare browsers might not offer win.eval. If that happens, requests to *.js will now fail if you merge.

One could check for 'function' == typeof win.eval and provide a fallback on plain eval. But I suggest you do not. Results are quite unpredictable.

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

Successfully merging this pull request may close these issues.

1 participant