Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Eval Scope#179

Open
sgrtho wants to merge 2 commits intoded:master from
sgrtho:fix-scope-poisoning-on-eval
Open

Eval Scope #179
sgrtho wants to merge 2 commits intoded:master from
sgrtho:fix-scope-poisoning-on-eval

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /