documentcloud/backbone — pull request #1371 by braddunbar (2012-06-02 13:11:53+00:00)
Title: Sync accepts options for emulateHTTP, emulateJSON.  Uses globals as defaults.

Used #1369 as a starting point, so this handles that issue as well.

I think this is a sensible change. The only thing that gives me pause is that `emulateHTTP` and `emulateJSON` are passed in to `Backbone.ajax` as options. I'm not sure how likely it is that this will cause conflicts. Perhaps someone with more knowledge of ajax frameworks can comment on it.