Skip to content

Enable response parsing and converting (from text to JSON, e.g.) by usin...#4

Open
prantlf wants to merge 1 commit intoerithmetic:masterfrom
prantlf:master
Open

Enable response parsing and converting (from text to JSON, e.g.) by usin...#4
prantlf wants to merge 1 commit intoerithmetic:masterfrom
prantlf:master

Conversation

@prantlf
Copy link

@prantlf prantlf commented Jul 31, 2013

...g the code from jQuery 1.9.1

I needed the same behaviour of $.ajax done by the original jQuery XHR and by the IE8/9 version prepared by your hook - a JSON object if the response content type was application/json. Solving in the hook saves using JSON.parse at every place $.ajax is used. Consider including it in the official version too, please.

--- Ferda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant