Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

isTimeout with jQuery Deferred callbacks doesn't work #63

michaelbrooks opened this Issue Apr 7, 2012 · 1 comment


None yet
3 participants

michaelbrooks commented Apr 7, 2012

I had an error using isTimeout in mockjax with jQuery's Deferred callbacks (http://api.jquery.com/category/deferred-object/).

I'm using jQuery version 1.7.2, but there were errors with earlier versions as well. I created a test demonstrating the problem in this repo: https://github.com/michaelbrooks/jquery-mockjax

The error was on line 181 of jquery.mockjax.js, where it attempts to call requestSettings.error(), but no such function exists.

I have no idea how to fix this, but hopefully this is helpful. I see there have been earlier changes to make mockjax work with deferred callbacks (#37) but this problem seems to be particular to the case of using isTimeout.


mlynch commented Apr 10, 2012

Taking a look at this right now. Thanks.

@jdsharp jdsharp closed this in b0b29d9 Apr 10, 2012

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