-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
Cannot define one callback per request #75
Comments
I like it. Will add it now. Do you have a sample you can share so I can test? |
So the new code will looks like
Is that OK? |
Yes, this is the idea. But maybe, "jQuery.atmosphere.callbacks" schould be call even if "jQuery.atmosphere.request.callback" is defined. How I fixed it :
I can write a sample you can test, where can I send it to you ? |
Make a lot of sence. Use jfarcand@apache.org Thanks a lot! |
OK I've integrated it with a basic test. Still highly interested to a simple sample if you have a chance. Thanks a lot. |
I just sent you my sample at jfarcand@apache.org. |
Works like a charm!!! Thanks! |
If you subscribe to multiple topics, you cannot define one callback per subscriptions : all callbacks are always called.
Since "jQuery.atmosphere.request" has a "callback" property, I thought it was possible but no, because "invokeCallback" function don't look at it.
I looked at jQuery plugin and I think you can fix it by adding to "invokeCallback" function :
I tested, it seems to work, but maybe it's not the best way to do it.
The text was updated successfully, but these errors were encountered: