Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update escaper
  • Loading branch information
XadillaX committed Oct 22, 2015
1 parent 91b05b0 commit 7458203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/escaper.js
Expand Up @@ -40,7 +40,7 @@ exports.escape = function(str) {
* @returns {*} * @returns {*}
*/ */
exports.escapeLike = function(str) { exports.escapeLike = function(str) {
return str.split("").chars().reduce(function(str, ch) { return str.split("").reduce(function(str, ch) {
if(ch === "_" || ch === "%") { if(ch === "_" || ch === "%") {
str += "\\"; str += "\\";
} }
Expand Down

0 comments on commit 7458203

Please sign in to comment.