News for hackers. Stuff that matters.
Re:Announcing Backbone.js 1.0 by jashkenas on Wednesday March 20, 2013 @10:02AM (#5407270)

    > PUT as a default makes sense but it should be able to support 
    > POST, PATCH, GET, CHANGETHETHING or anything else, as browsers 
    > now support arbitrary method strings in XHR.
... it does (as mentioned by vidarh). The full suite of jQuery options are passed through transparently. What this particular feature means is that:

    model.save()
    // PUT all of the models current attributes to model.url

    model.save(attrs, {patch: true})
    // PATCH just the `attrs` to model.url

There are no comments on this comment yet.