Sha256: 2d5157e6bc723fc025d91e0d0d795217e7c1e9cdb5d1216091f89a5ff4402db4
Contents?: true
Size: 728 Bytes
Versions: 16
Compression:
Stored size: 728 Bytes
Contents
(function ($){ Spotlight.Block = SirTrevor.Block.extend({ scribeOptions: { allowBlockElements: true, tags: { p: true } }, 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
16 entries across 16 versions & 1 rubygems