Sha256: 8639c0ce3a858bd3317571db0818ed2aace851e1689895e9f26dc20e3aab9599
Contents?: true
Size: 512 Bytes
Versions: 18
Compression:
Stored size: 512 Bytes
Contents
pageflow.delayedDestroying = { initialize: function() { this._destroying = false; }, destroyWithDelay: function() { var model = this; this.trigger('destroying', this); this._destroying = true; return Backbone.Model.prototype.destroy.call(this, { wait: true, success: function() { model._destroying = false; }, error: function() { model._destroying = false; } }); }, isDestroying: function() { return this._destroying; } };
Version data entries
18 entries across 18 versions & 1 rubygems