Sha256: 435f33cb0b1611681a4ae3faf2275dbe67ae0c75b7a93818a734585246f8e34f
Contents?: true
Size: 515 Bytes
Versions: 39
Compression:
Stored size: 515 Bytes
Contents
(function ($){ Spotlight.Block = SirTrevor.Block.extend({ formable: true, editorHTML: function() { return _.template(this.template)(this); }, beforeBlockRender: function() { this.availableMixins.forEach(function(mixin) { if (this[mixin] && SirTrevor.BlockMixins[_.capitalize(mixin)].preload) { this.withMixin(SirTrevor.BlockMixins[_.capitalize(mixin)]); } }, this); }, $instance: function() { return $('#' + this.instanceID); } }) })(jQuery);
Version data entries
39 entries across 39 versions & 1 rubygems