From f1fa7f38a11afe19b59c5da5dd9119b246165b39 Mon Sep 17 00:00:00 2001 From: Lee Treveil Date: Tue, 15 Jan 2013 15:17:51 +0000 Subject: [PATCH] Fix google closure compiler JSC_TRAILING_COMMA errors --- ua-parser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ua-parser.js b/ua-parser.js index 34262aa..6c1485a 100644 --- a/ua-parser.js +++ b/ua-parser.js @@ -326,13 +326,13 @@ ], [[NAME, 'Solaris'], VERSION], [ // BSD based - /\s(\w*bsd|dragonfly)\s?([\w\.]+)*/i, // FreeBSD/NetBSD/OpenBSD/DragonFly + /\s(\w*bsd|dragonfly)\s?([\w\.]+)*/i // FreeBSD/NetBSD/OpenBSD/DragonFly ], [NAME, VERSION],[ - /(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i, // iOS + /(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i // iOS ], [[NAME, 'iOS'], [VERSION, /_/g, '.']], [ - /(mac\sos\sx)\s?([\w\s\.]+\w)*/i, // Mac OS + /(mac\sos\sx)\s?([\w\s\.]+\w)*/i // Mac OS ], [NAME, [VERSION, /_/g, '.']], [ // Other