These return a deferred
On Apr 1, 2013 10:00 AM, "Chris Van" <notifications@github.com> wrote:

> In hearth/media/js/requests.js:
>
> > @@ -107,6 +107,16 @@ define(['jquery'], function($) {
> >          });
> >      }
> >
> > +    function del(url) {
> > +        console.log('[req] DELETing', url);
> > +        return $.ajax({
> > +            url: url,
> > +            type: 'DELETE'
> > +        }).done(function() {
> > +            console.log('[req] DELETed', url);
> > +        });
>
> are we handling the error case?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/fireplace/pull/68/files#r3603778>
> .
>