From 2be03bf30c72b5e89af2b97276533139120fea3f Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Sun, 26 Oct 2014 01:32:55 +0700 Subject: [PATCH] New categories for device: wearable & embedded --- src/ua-parser.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ua-parser.js b/src/ua-parser.js index 3fcdee6..f202947 100644 --- a/src/ua-parser.js +++ b/src/ua-parser.js @@ -30,7 +30,9 @@ CONSOLE = 'console', MOBILE = 'mobile', TABLET = 'tablet', - SMARTTV = 'smarttv'; + SMARTTV = 'smarttv', + WEARABLE = 'wearable', + EMBEDDED = 'embedded'; /////////// @@ -696,7 +698,9 @@ CONSOLE : CONSOLE, MOBILE : MOBILE, SMARTTV : SMARTTV, - TABLET : TABLET + TABLET : TABLET, + WEARABLE: WEARABLE, + EMBEDDED: EMBEDDED }; UAParser.ENGINE = { NAME : NAME,