Changes `margedRegexes` -> `mergedRegexes`
This commit is contained in:
Max Nordlund 2019-03-25 11:54:55 +01:00 committed by GitHub
parent 732cf5834e
commit 795139e1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,15 +45,15 @@
var util = {
extend : function (regexes, extensions) {
var margedRegexes = {};
var mergedRegexes = {};
for (var i in regexes) {
if (extensions[i] && extensions[i].length % 2 === 0) {
margedRegexes[i] = extensions[i].concat(regexes[i]);
mergedRegexes[i] = extensions[i].concat(regexes[i]);
} else {
margedRegexes[i] = regexes[i];
mergedRegexes[i] = regexes[i];
}
}
return margedRegexes;
return mergedRegexes;
},
has : function (str1, str2) {
if (typeof str1 === "string") {