Sha256: 7fb9fd106dcc3fc56b9f186e6d9a01ae0b8d67ca499e957abefceb251b3621db
Contents?: true
Size: 476 Bytes
Versions: 21
Compression:
Stored size: 476 Bytes
Contents
pageflow.loadable = { modelEvents: { sync: function() { this.$el.removeClass('creating'); }, destroying: function() { this.$el.addClass('destroying'); }, error: function() { this.$el.removeClass('destroying'); } }, render: function() { if (this.model.isNew()) { this.$el.addClass('creating'); } if (this.model.isDestroying && this.model.isDestroying()) { this.$el.addClass('destroying'); } } };
Version data entries
21 entries across 21 versions & 1 rubygems