Sha256: 443bde435613937a225f3ad3b109d71b21c9c6902730bea6526ce33ff5916f28
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 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() { escape_re = /[#;&,\.\+\*~':"!\^\$\[\]\(\)=>|\/\\]/; jQuery.escape = function jQuery$escape(s) { var left = s.split(escape_re, 1)[0]; if (left == s) return s; return left + '\\' + s.substr(left.length, 1) + jQuery.escape(s.substr(left.length+1)); } })();
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
edifice-forms-0.5.1 | app/assets/javascripts/edifice-forms/jquery-escape.js |
edifice-forms-0.5.0 | app/assets/javascripts/edifice-forms/jquery-escape.js |