mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Fix my poor english
This commit is contained in:
parent
615d6a2034
commit
45571b6f21
@ -2,7 +2,7 @@
|
|||||||
// Lightweight JavaScript-based User-Agent string parser
|
// Lightweight JavaScript-based User-Agent string parser
|
||||||
// https://github.com/faisalman/ua-parser-js
|
// https://github.com/faisalman/ua-parser-js
|
||||||
//
|
//
|
||||||
// Copyright © 2012-2013 Faisalman
|
// Copyright © 2012-2013 Faisalman <fyzlman@gmail.com>
|
||||||
// Dual licensed under GPLv2 & MIT
|
// Dual licensed under GPLv2 & MIT
|
||||||
|
|
||||||
(function (global, undefined) {
|
(function (global, undefined) {
|
||||||
@ -32,8 +32,8 @@
|
|||||||
// loop through all regexes maps
|
// loop through all regexes maps
|
||||||
for (i = 0; i < args.length; i += 2) {
|
for (i = 0; i < args.length; i += 2) {
|
||||||
|
|
||||||
var regex = args[i], // odd sequence (0,2,4,..)
|
var regex = args[i], // even sequence (0,2,4,..)
|
||||||
props = args[i + 1]; // even sequence (1,3,5,..)
|
props = args[i + 1]; // odd sequence (1,3,5,..)
|
||||||
|
|
||||||
// construct object barebones
|
// construct object barebones
|
||||||
if (typeof result === UNDEF) {
|
if (typeof result === UNDEF) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user