Lines Matching refs:method
555 model.sync = function(method, m, options) { argument
570 assert.equal(this.syncArgs.method, 'update');
580 model.sync = function(method, m, options) {
598 model.sync = function(method, m, opts) {
616 model.sync = function(method, m, opts) {
631 model.sync = function(method, m, options) {
643 assert.equal(this.syncArgs.method, 'update');
647 assert.equal(this.syncArgs.method, 'patch');
665 model.sync = function(method, m, options) {
675 model.sync = function(method, m, options) {
698 sync: function(method, m, options) { argument
700 return Backbone.Model.prototype.sync.call(this, method, m, options); argument
718 assert.equal(this.syncArgs.method, 'read');
725 sync: function(method, m, options) { argument
727 return Backbone.Model.prototype.sync.call(this, method, m, options); argument
745 assert.equal(this.syncArgs.method, 'delete');
755 sync: function(method, m, options) { argument
757 return Backbone.Model.prototype.sync.call(this, method, m, options); argument
1059 model.sync = function(method, m, options) {
1076 sync: function(method, m, options) { assert.ok(options.parse); } argument
1244 model.sync = function(method, m, options) {
1255 model.sync = function(method, m, options) { options.success(); };
1286 sync: function(method, m, options){ options.success(); }, argument
1309 sync: function(method, m, options) { argument