Sha256: e1e6e3aa9925b6abd9a15c9838cc7d2baaea1da96a9f0431b9cb3d2cffc2cf0c
Contents?: true
Size: 644 Bytes
Versions: 82
Compression:
Stored size: 644 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[this.capitalize(mixin)].preload) { this.withMixin(SirTrevor.BlockMixins[this.capitalize(mixin)]); } }, this); }, $instance: function() { return $('#' + this.instanceID); }, capitalize: function(string) { return string.charAt(0).toUpperCase() + string.substring(1).toLowerCase(); } }) })(jQuery);
Version data entries
82 entries across 82 versions & 1 rubygems