Sha256: db884faf61bcbeb3b11334c201ece67836d54fa4c880bb65e2471ab6ec259a23
Contents?: true
Size: 512 Bytes
Versions: 67
Compression:
Stored size: 512 Bytes
Contents
pageflow.delayedDestroying = { initialize: function() { this._destroying = false; }, destroyWithDelay: function() { var model = this; this._destroying = true; this.trigger('destroying', this); 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
67 entries across 67 versions & 1 rubygems