Sha256: 55939dd0fb74368a1196e921fface50d9dbdea947c17d956628bcab212bd0ba8
Contents?: true
Size: 551 Bytes
Versions: 13
Compression:
Stored size: 551 Bytes
Contents
define([ '../utils' ], function (Utils) { function SelectionCSS () { } SelectionCSS.prototype.render = function (decorated) { var $selection = decorated.call(this); var selectionCssClass = this.options.get('selectionCssClass') || ''; if (selectionCssClass.indexOf(':all:') !== -1) { selectionCssClass = selectionCssClass.replace(':all:', ''); Utils.copyNonInternalCssClasses($selection[0], this.$element[0]); } $selection.addClass(selectionCssClass); return $selection; }; return SelectionCSS; });
Version data entries
13 entries across 13 versions & 1 rubygems