Skip to content

Commit

Permalink
update escaper
Browse files Browse the repository at this point in the history
  • 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 {*}
*/
exports.escapeLike = function(str) {
return str.split("").chars().reduce(function(str, ch) {
return str.split("").reduce(function(str, ch) {
if(ch === "_" || ch === "%") {
str += "\\";
}
Expand Down

0 comments on commit 7458203

Please sign in to comment.