From 5e4d686e3eabe8fc6b3ef644f8560498316d9883 Mon Sep 17 00:00:00 2001 From: Faisalman Date: Thu, 19 Jul 2012 22:45:55 +0700 Subject: [PATCH] Tag v0.2.1 --- package.json | 2 +- readme.md | 11 ++++++++--- ua-parser.js | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 96e0cdc..1475e71 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "title" : "UA-Parser.js", "name" : "ua-parser-js", - "version" : "0.1.2", + "version" : "0.2.1", "author" : { "name" : "Faisal Salman", "email" : "fyzlman@gmail.com", diff --git a/readme.md b/readme.md index 57fa7a6..5df835f 100644 --- a/readme.md +++ b/readme.md @@ -2,10 +2,10 @@ JavaScript-based user-agent parser -* Author : Faisalman <> +* Author : Faisalman <> * Home : http://faisalman.github.com/ua-parser-js -* Source : https://github.com/faisalman/ua-parser-js -* License : GPLv2 +* Source : https://github.com/faisalman/ua-parser-js +* License : GPLv2 ## Features @@ -14,6 +14,7 @@ Get detailed type and version of web browser, layout engine, and operating syste ## Methods * `getBrowser([uastring])` +* `getDevice([uastring])` * `getEngine([uastring])` * `getOS([uastring])` * `setUA(uastring)` @@ -35,6 +36,10 @@ Get detailed type and version of web browser, layout engine, and operating syste version: "", major: "" }, + device: { + name: "", + version: "" + }, engine: { name: "", version: "" diff --git a/ua-parser.js b/ua-parser.js index 96aeede..1963f5e 100644 --- a/ua-parser.js +++ b/ua-parser.js @@ -1,4 +1,4 @@ -// UA-Parser.js v0.2.0 +// UA-Parser.js v0.2.1 // Lightweight JavaScript-based user-agent parser // https://github.com/faisalman/ua-parser-js //