mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +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) {
|
||||
|
||||
//var result = {},
|
||||
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;
|
||||
}*/
|
||||
var i = 0, j, k, p, q, matches, match;
|
||||
|
||||
// loop through all regexes maps
|
||||
while (i < arrays.length && !matches) {
|
||||
@ -138,8 +131,6 @@
|
||||
}
|
||||
i += 2;
|
||||
}
|
||||
// console.log(this);
|
||||
//return this;
|
||||
},
|
||||
|
||||
str : function (str, map) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user