appendto/jquery-mockjax — pull request #97 by elijahmanor (2013-04-28 19:38:33+00:00)
Title: Fix jsonp when setting responseText in response

When trying to mock a JSONP request using the response mockjax option the data returned in the $.ajax success callback is incorrect. Instead of being the data from responseText it is the toString'ed version of the response function.

I've included a unit test recreating the issue and have fixed mockjax to work appropriately.