Lines Matching refs:extend

382   _.extend(Backbone, Events);
403 attrs = _.defaults(_.extend({}, defaults, attrs), defaults);
410 _.extend(Model.prototype, Events, {
543 return this.set(attr, void 0, _.extend({}, options, {unset: true}));
550 return this.set(attrs, _.extend({}, options, {unset: true}));
596 options = _.extend({parse: true}, options);
622 options = _.extend({validate: true, parse: true}, options);
643 if (wait) serverAttrs = _.extend({}, attrs, serverAttrs);
651 if (attrs && wait) this.attributes = _.extend({}, attributes, attrs);
725 return this._validate({}, _.extend({}, options, {validate: true}));
732 attrs = _.extend({}, this.attributes, attrs);
735 this.trigger('invalid', this, error, _.extend(options, {validationError: error}));
769 if (models) this.reset(models, _.extend({silent: true}, options));
788 _.extend(Collection.prototype, Events, {
818 return this.set(models, _.extend({merge: false}, options, addOptions));
823 options = _.extend({}, options);
841 options = _.extend({}, setOptions, options);
964 models = this.add(models, _.extend({silent: true}, options));
971 return this.add(model, _.extend({at: this.length}, options));
982 return this.add(model, _.extend({at: 0}, options));
1058 options = _.extend({parse: true}, options);
1236 _.extend(this, _.pick(options, viewOptions));
1248 _.extend(View.prototype, Events, {
1370 var attrs = _.extend({}, _.result(this, 'attributes'));
1461 var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
1502 _.extend(Router.prototype, Events, {
1619 _.extend(History.prototype, Events, {
1687 this.options = _.extend({root: '/'}, this.options, options);
1900 var extend = function(protoProps, staticProps) {
1914 _.extend(child, parent, staticProps);
1929 Model.extend = Collection.extend = Router.extend = View.extend = History.extend = extend;