Skip to content

Commit

Permalink
Remove outcommented code
Browse files Browse the repository at this point in the history
Hasn't been used for years, so it's most likely safe to remove.
  • Loading branch information
maxnordlund committed Mar 25, 2019
1 parent d1a7f36 commit cc479f8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -138,8 +131,6 @@
}
i += 2;
}
// console.log(this);
//return this;
},

str : function (str, map) {
Expand Down

0 comments on commit cc479f8

Please sign in to comment.