mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Remove outcommented code
Hasn't been used for years, so it's most likely safe to remove.
This commit is contained in:
parent
d1a7f365ad
commit
cc479f81ae
@ -83,14 +83,7 @@
|
|||||||
|
|
||||||
rgx : function (ua, arrays) {
|
rgx : function (ua, arrays) {
|
||||||
|
|
||||||
//var result = {},
|
var i = 0, j, k, p, q, matches, match;
|
||||||
var i = 0, j, k, p, q, matches, match;//, args = arguments;
|
|
||||||
|
|
||||||
/*// construct object barebones
|
|
||||||
for (p = 0; p < args[1].length; p++) {
|
|
||||||
q = args[1][p];
|
|
||||||
result[typeof q === OBJ_TYPE ? q[0] : q] = undefined;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
// loop through all regexes maps
|
// loop through all regexes maps
|
||||||
while (i < arrays.length && !matches) {
|
while (i < arrays.length && !matches) {
|
||||||
@ -138,8 +131,6 @@
|
|||||||
}
|
}
|
||||||
i += 2;
|
i += 2;
|
||||||
}
|
}
|
||||||
// console.log(this);
|
|
||||||
//return this;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
str : function (str, map) {
|
str : function (str, map) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user