codacy: Strings must use doublequote.

This commit is contained in:
DL6ER
2016-11-23 12:00:59 +01:00
parent c3bc146db1
commit 3b5c2f6ddc
+3 -3
View File
@@ -2,9 +2,9 @@ var tableApi;
function escapeRegex(text) {
var map = {
'(': '\\(',
')': '\\)',
'.': '\\.',
"(": "\\(",
")": "\\)",
".": "\\.",
};
return text.replace(/[().]/g, function(m) { return map[m]; });
}