mythz/jquip — pull request #26 by brendanmoore (2012-04-26 08:44:38+00:00)
Title: Fix for JSON parse error for a dataType: 'json' AJAX response.

If the Ajax response is Invalid JSON Ajax.success() is still called and passed with the invalid JSON. This fix catches the JSON parse error and then calls AJAX.error() instead.