-
Notifications
You must be signed in to change notification settings - Fork 22
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
Uncaught ReferenceError: callbackName is not defined #31
Comments
Could you please provide more information about this issue? E.g. Browser / code example |
Maybe are you sending multiple call at once with the same superagent.get('exampleURL')
.use(superagentJSONP({ callbackParam: 'jsonp', callbackName: 'myCallbackName', timeout: 10000 }))
.end(function(err, res){
console.info(err, res)
});
superagent.get('exampleURL')
.use(superagentJSONP({ callbackParam: 'jsonp', callbackName: 'myCallbackName', timeout: 10000 }))
.end(function(err, res){
console.info(err, res)
});
superagent.get('exampleURL')
.use(superagentJSONP({ callbackParam: 'jsonp', callbackName: 'myCallbackName', timeout: 10000 }))
.end(function(err, res){
console.info(err, res)
}); The plugin cancel |
I had the same issue, specifying the timeout worked me. The callback is being removed from |
I had the same issue, providing |
经常会出这个问题,偶现性
The text was updated successfully, but these errors were encountered: