Lines Matching refs:trigger
339 Events.trigger = function(name) {
521 this.trigger('change:' + changes[i], this, current[changes[i]], options);
532 this.trigger('change', this, options);
603 model.trigger('sync', model, resp, options);
646 model.trigger('sync', model, resp, options);
674 model.trigger('destroy', model, model.collection, options);
680 if (!model.isNew()) model.trigger('sync', model, resp, options);
735 this.trigger('invalid', this, error, _.extend(options, {validationError: error}));
829 this.trigger('update', this, options);
936 model.trigger('add', model, this, options);
938 if (sort || orderChanged) this.trigger('sort', this, options);
945 this.trigger('update', this, options);
965 if (!options.silent) this.trigger('reset', this, options);
1045 if (!options.silent) this.trigger('sort', this, options);
1065 collection.trigger('sync', collection, resp, options);
1128 this.trigger('invalid', this, model.validationError, options);
1151 model.trigger('remove', model, this, options);
1200 this.trigger.apply(this, arguments);
1462 model.trigger('request', model, xhr, options);
1529 router.trigger.apply(router, ['route:' + name].concat(args));
1530 router.trigger('route', name, args);
1531 Backbone.history.trigger('route', router, name, args);
1826 if (!options || options === true) options = {trigger: !!options};
1874 if (options.trigger) return this.loadUrl(fragment);
1941 model.trigger('error', model, resp, options);