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

Scoping issue #1

Open
GoogleCodeExporter opened this issue Mar 30, 2016 · 0 comments
Open

Scoping issue #1

GoogleCodeExporter opened this issue Mar 30, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Do two parallel calls with microAjax
2. Expect two different callbacks
3. Just the last one returns

What is the expected output? What do you see instead?
Two callbacks with different scoping

What version of the product are you using? On what operating system?
Any browser

Please provide any additional information below.

Either use "new microAjax( .. , .. );" (change the example) to provide 
individual scopes, or use a local variable like this: 
https://gist.github.com/2420333 

Works perfectly otherwise...








Original issue reported on code.google.com by possan2 on 19 Apr 2012 at 11:23

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

No branches or pull requests

1 participant