Sha256: d33c0bb3891a0a194a4e38749ff97df4f5e472b4e989c1d6911a868ad1ccf593
Contents?: true
Size: 272 Bytes
Versions: 7
Compression:
Stored size: 272 Bytes
Contents
(function($){$.fn.deOrphan=function(){function _deOrphan(node){$(node).contents().each(function(){if(this.nodeType==3){this.textContent=this.textContent.replace(/ (\S*)$/,'\u00A0$1');}else{_deOrphan(this);}});}return this.each(function(i,el){_deOrphan(el);});};})(jQuery);
Version data entries
7 entries across 6 versions & 1 rubygems