Skip to content

Instantly share code, notes, and snippets.

@grancalavera
grancalavera / gist:2762473
Created May 21, 2012 14:01
Backbone: override fetch to use JSONP
fetch: function (options) {
options = options ? _.clone(options) : {};
options.dataType = 'jsonp';
Backbone.Collection.prototype.fetch.call(this, options);
}