Closed GoogleCodeExporter closed 8 years ago
(function() {
te_special = /[\$\\]/;
teJQuery.escape = function jQuery$escape(s) {
var left = s.split(te_special, 1)[0];
if (left == s) return s;
return left + '\\' +
s.substr(left.length, 1) +
teJQuery.escape(s.substr(left.length + 1));
}
})();
Original comment by John.Jian.Fang@gmail.com
on 12 Aug 2010 at 1:54
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 11 Aug 2010 at 8:03