Permalink
Browse files

Bump to v1.3.4.

  • Loading branch information...
1 parent 035105a commit dbddee14240800718d03b1a905e0538cf0ac4c45 @jdalton jdalton committed Mar 30, 2017
Showing with 51 additions and 29 deletions.
  1. +1 −1 README.md
  2. +49 −27 doc/README.md
  3. +1 −1 package.json
View
@@ -1,4 +1,4 @@
-# Platform.js v1.3.3
+# Platform.js v1.3.4
A platform detection library that works on nearly all JavaScript platforms.
View
@@ -1,4 +1,4 @@
-# Platform.js <sup>v1.3.3</sup>
+# Platform.js <sup>v1.3.4</sup>
<!-- div class="toc-container" -->
@@ -41,7 +41,7 @@
<!-- div -->
<h3 id="platform"><code>platform</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L996 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1038 "View in source") [&#x24C9;][1]
The platform object.
@@ -52,7 +52,7 @@ The platform object.
<!-- div -->
<h3 id="platformdescription"><code>platform.description</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1004 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1046 "View in source") [&#x24C9;][1]
The platform description.
@@ -63,9 +63,13 @@ The platform description.
<!-- div -->
<h3 id="platformlayout"><code>platform.layout</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1012 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1057 "View in source") [&#x24C9;][1]
The name of the browser's layout engine.
+<br>
+<br>
+The list of common layout engines include:<br>
+"Blink", "EdgeHTML", "Gecko", "Trident" and "WebKit"
---
@@ -74,9 +78,15 @@ The name of the browser's layout engine.
<!-- div -->
<h3 id="platformmanufacturer"><code>platform.manufacturer</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1020 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1070 "View in source") [&#x24C9;][1]
The name of the product's manufacturer.
+<br>
+<br>
+The list of manufacturers include:<br>
+"Apple", "Archos", "Amazon", "Asus", "Barnes & Noble", "BlackBerry",
+"Google", "HP", "HTC", "LG", "Microsoft", "Motorola", "Nintendo",
+"Nokia", "Samsung" and "Sony"
---
@@ -85,9 +95,19 @@ The name of the product's manufacturer.
<!-- div -->
<h3 id="platformname"><code>platform.name</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1028 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1086 "View in source") [&#x24C9;][1]
The name of the browser/environment.
+<br>
+<br>
+The list of common browser names include:<br>
+"Chrome", "Electron", "Firefox", "Firefox for iOS", "IE",
+"Microsoft Edge", "PhantomJS", "Safari", "SeaMonkey", "Silk",
+"Opera Mini" and "Opera"
+<br>
+<br>
+Mobile versions of some browsers have "Mobile" appended to their name:<br>
+eg. "Chrome Mobile", "Firefox Mobile", "IE Mobile" and "Opera Mobile"
---
@@ -96,7 +116,7 @@ The name of the browser/environment.
<!-- div -->
<h3 id="platformos"><code>platform.os</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1068 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1131 "View in source") [&#x24C9;][1]
The name of the operating system.
@@ -107,13 +127,12 @@ The name of the operating system.
<!-- div -->
<h3 id="platformparseuanavigatoruseragent"><code>platform.parse([ua=navigator.userAgent])</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L253 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L253 "View in source") [&#x24C9;][1]
Creates a new platform object.
#### Arguments
-1. `[ua=navigator.userAgent]` *(Object|string)*: The user agent string or<br>
-<br> context object.
+1. `[ua=navigator.userAgent]` *(Object|string)*: The user agent string or context object.
#### Returns
*(Object)*: A platform object.
@@ -125,7 +144,7 @@ Creates a new platform object.
<!-- div -->
<h3 id="platformprerelease"><code>platform.prerelease</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1036 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1094 "View in source") [&#x24C9;][1]
The alpha/beta release indicator.
@@ -136,9 +155,16 @@ The alpha/beta release indicator.
<!-- div -->
<h3 id="platformproduct"><code>platform.product</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1044 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1107 "View in source") [&#x24C9;][1]
The name of the product hosting the browser.
+<br>
+<br>
+The list of common products include:
+<br>
+<br>
+"BlackBerry", "Galaxy S4", "Lumia", "iPad", "iPod", "iPhone", "Kindle",
+"Kindle Fire", "Nexus", "Nook", "PlayBook", "TouchPad" and "Transformer"
---
@@ -147,7 +173,7 @@ The name of the product hosting the browser.
<!-- div -->
<h3 id="platformtostring"><code>platform.toString()</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L601 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L610 "View in source") [&#x24C9;][1]
Returns `platform.description` when the platform object is coerced to a string.
@@ -161,7 +187,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->
<h3 id="platformua"><code>platform.ua</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1052 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1115 "View in source") [&#x24C9;][1]
The browser's user agent string.
@@ -172,7 +198,7 @@ The browser's user agent string.
<!-- div -->
<h3 id="platformversion"><code>platform.version</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1060 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1123 "View in source") [&#x24C9;][1]
The browser/environment version.
@@ -189,7 +215,7 @@ The browser/environment version.
<!-- div -->
<h3 id="platformosarchitecture"><code>platform.os.architecture</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1076 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1139 "View in source") [&#x24C9;][1]
The CPU architecture the OS is built for.
@@ -200,18 +226,14 @@ The CPU architecture the OS is built for.
<!-- div -->
<h3 id="platformosfamily"><code>platform.os.family</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1089 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1152 "View in source") [&#x24C9;][1]
-The family of the OS.<br>
-<br>
-<br>
-<br>
-Common values include:<br>
-<br>
-"Windows", "Windows Server `2008` R2 / `7`", "Windows Server `2008` / Vista",<br>
+The family of the OS.
<br>
-"Windows XP", "OS X", "Ubuntu", "Debian", "Fedora", "Red Hat", "SuSE",<br>
<br>
+Common values include:<br>
+"Windows", "Windows Server `2008` R2 / `7`", "Windows Server `2008` / Vista",
+"Windows XP", "OS X", "Ubuntu", "Debian", "Fedora", "Red Hat", "SuSE",
"Android", "iOS" and "Windows Phone"
---
@@ -221,7 +243,7 @@ Common values include: <br>
<!-- div -->
<h3 id="platformostostring"><code>platform.os.toString()</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1105 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1168 "View in source") [&#x24C9;][1]
Returns the OS string.
@@ -235,7 +257,7 @@ Returns the OS string.
<!-- div -->
<h3 id="platformosversion"><code>platform.os.version</code></h3>
-[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.3/platform.js#L1097 "View in source") [&#x24C9;][1]
+[&#x24C8;](https://github.com/bestiejs/platform.js/blob/1.3.4/platform.js#L1160 "View in source") [&#x24C9;][1]
The version of the OS.
View
@@ -1,6 +1,6 @@
{
"name": "platform",
- "version": "1.3.3",
+ "version": "1.3.4",
"description": "A platform detection library that works on nearly all JavaScript platforms.",
"license": "MIT",
"main": "platform.js",

0 comments on commit dbddee1

Please sign in to comment.