Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

io() does not returning the supposed value

#4

Hi, found this bug, io() does not returning the supposed value. I'm using GET method, but on the onSuccess method, the passed data is always an object, no matter what format I choose.

The culprit seems to be on line 281:
var res = new io.response(this.xhr, this.options.format, this.options.sanitizeJSON);

I deleted the "new" keyword there, and it works now.

Reported by Titus Wiguno · December 12th, 2011 @ 11:09 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.