Sha256: 8b853409b2ff15bada808ff6e9a0ac750607087e380179b17400ba47af352e9c
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 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
3 entries across 3 versions & 1 rubygems