#4 new
Titus Wiguno

io() does not returning the supposed value

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

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.

No comments found

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

baseJS is a lightweight Javascript framework intended for use with Mobile Safari on the iPhone and iPod Touch; it also
works with Firefox and all WebKit-based browsers. By providing shortcuts and reusable methods, baseJS helps you write
code to be lightweight and extendable—perfect for the mobile web.

People watching this ticket

Pages