Permalink
Browse files

update escaper

  • Loading branch information...
XadillaX committed Oct 22, 2015
1 parent 91b05b0 commit 74582035e299a8df57b0c688b120ae0947d9d1db
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/escaper.js
@@ -40,7 +40,7 @@ exports.escape = function(str) {
* @returns {*}
*/
exports.escapeLike = function(str) {
return str.split("").chars().reduce(function(str, ch) {
return str.split("").reduce(function(str, ch) {
if(ch === "_" || ch === "%") {
str += "\\";
}

0 comments on commit 7458203

Please sign in to comment.