appendto/jquery-mockjax — Issue #38: More control over handlers
Author: jzaefferer
Created: 2011-11-07 14:33:27+00:00
State: open

Using mockjax within an application to test certain error handlers. In case of a scrolling pager, I want the request for the second page to fail, then pass when clicking the retry button. For that it would be nice if I could either define a mock to run only once (remove itself), or get a callback to remove it with some other method. Currently not really feasible at all as only $.mockjaxClear exists to delete things.