#162 open
T.J. Crowder

evalJS option documentation is wrong, evalJSON doc is missing

Reported by T.J. Crowder | May 18th, 2010 @ 03:04 PM

The Ajax section docs don't mention the evalJSON option at all, and have the wrong documentation for the evalJS option (looks like kind of a mashed-together version of both of them):

evalJS (Boolean | String; default true): Automatically evals the content of Ajax.Response#responseText and populates Ajax.Response#responseJSON with it if the Content-type returned by the server is set to application/json. If the request doesn't obey same-origin policy, the content is sanitized before evaluation. If you need to force evalutation, pass 'force'. To prevent it altogether, pass false.

Comments and changes to this ticket

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 ยป

Shared Ticket Bins