Lines Matching refs:method
496 m.sync = function(method, model, options) { options.success(); }; argument
508 m.sync = function(method, model, options) { throw 'should not be called'; };
522 assert.equal(this.syncArgs.method, 'read');
536 collection.sync = function(method, model, options) { options.error(); }; argument
550 collection.sync = function(method, model, opts) {
575 assert.equal(this.syncArgs.method, 'create');
602 sync: function(method, model, options) { argument
604 return Backbone.Model.prototype.sync.call(this, method, model, options); argument
995 collection.sync = m.sync = function( method, coll, options ){
1050 model.sync = function(method, m, options){ options.success(); }; argument
1426 sync: function(method, collection, options) { argument
1428 return Backbone.Collection.prototype.sync.call(this, method, collection, options); argument
1873 method: function(x, y, z) {