Sha256: b08b97e80448e1eb3f87c571a459219c9980900f847b33dc548ce121419c8032
Contents?: true
Size: 617 Bytes
Versions: 33
Compression:
Stored size: 617 Bytes
Contents
// jquery.escape 1.0 - escape strings for use in jQuery selectors // http://ianloic.com/tag/jquery.escape // Copyright 2009 Ian McKellar <http://ian.mckellar.org/> // Just like jQuery you can use it under either the MIT license or the GPL // (see: http://docs.jquery.com/License) (function($w){ $w.extend({ escape: function(s) { escape_re = /[#;&,\.\+\*~':"!\^\$\[\]\(\)=>|\/\\]/; var left = s.split(escape_re, 1)[0]; if (left == s) return s; return left + '\\' + s.substr(left.length, 1) + jQueryWhowishWord.escape(s.substr(left.length+1)); } }); })(jQueryWhowishWord);
Version data entries
33 entries across 33 versions & 1 rubygems