mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 22:52:16 +03:00
Fix typo
Changes `margedRegexes` -> `mergedRegexes`
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user