mozilla-b2g/caldav — pull request #12 by gaye (2013-04-16 22:58:11+00:00)
Title: Add an abort routine to Caldav.Xhr

@lightsofapollo This is a large diff relative to what was actually changed hehe. In summation:

1. I added an abort method on Caldav.Xhr. It simply calls abort on its xhr request if it's waiting.
2. I changed all of the send methods that make xhr requests and accept callbacks to return the Caldav.Xhr object so that the caller can call abort on it.

This, in theory, should help us back in gaia land :).