Skip to content

Commit

Permalink
Bump to v1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed May 26, 2014
1 parent 0d310f8 commit 4abb2b3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Platform.js <sup>v1.0.0</sup>
# Platform.js <sup>v1.1.0</sup>

A platform detection library that works on nearly all JavaScript platforms<sup><a name="fnref1" href="#fn1">1</a></sup>.

Expand All @@ -19,7 +19,7 @@ For a list of upcoming features, check out our [roadmap](https://github.com/best

## Support

Tested in Chrome (19, 34-35), Firefox (3, 20, 28-29), IE 6-11, Opera (10, 12, 19-20), Safari 5-7, Node.js 0.6.21~0.10.28, Narwhal 0.3.2, PhantomJS 1.9.2, RingoJS 0.9, & Rhino 1.7RC5.
Tested in Chrome 34-35, Firefox 28-29, IE 6-11, Opera 20-21, Safari 5-7, Node.js 0.6.21~0.10.28, Narwhal 0.3.2, PhantomJS 1.9.2, RingoJS 0.9, & Rhino 1.7RC5.

## Installation and usage

Expand Down Expand Up @@ -97,5 +97,5 @@ info.description; // 'Opera 11.52 (identifying as Firefox 4.0) on Mac OS X 10.7.
## Contributors

| [![twitter/demoneaux](http://gravatar.com/avatar/029b19dba521584d83398ada3ecf6131?s=70)](https://twitter.com/demoneaux "Follow @demoneaux on Twitter") | [![twitter/mathias](http://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
|---|---|
| [Benjamin Tan](http://d10.github.io/) | [Mathias Bynens](http://mathiasbynens.be/) |
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platform.js",
"version": "1.0.0",
"version": "1.1.0",
"main": "platform.js",
"ignore": [
".*",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "platform.js",
"repo": "bestiejs/platform.js",
"version": "1.0.0",
"version": "1.1.0",
"description": "A platform detection library that works on nearly all JavaScript platforms.",
"license": "MIT",
"main": "platform.js",
Expand Down
40 changes: 20 additions & 20 deletions doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Platform.js <sup>v1.0.0</sup>
# Platform.js <sup>v1.1.0</sup>

<!-- div -->

Expand Down Expand Up @@ -46,7 +46,7 @@
<!-- div -->

### <a id="platform"></a>`platform`
<a href="#platform">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L893 "View in source") [&#x24C9;][1]
<a href="#platform">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L929 "View in source") [&#x24C9;][1]

*(Object)*: The platform object.

Expand All @@ -58,7 +58,7 @@
<!-- div -->

### <a id="platformdescription"></a>`platform.description`
<a href="#platformdescription">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L962 "View in source") [&#x24C9;][1]
<a href="#platformdescription">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L937 "View in source") [&#x24C9;][1]

*(string, null)*: The platform description.

Expand All @@ -70,9 +70,9 @@
<!-- div -->

### <a id="platformlayout"></a>`platform.layout`
<a href="#platformlayout">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L970 "View in source") [&#x24C9;][1]
<a href="#platformlayout">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L945 "View in source") [&#x24C9;][1]

*(string, null)*: The name of the browser layout engine.
*(string, null)*: The name of the browser's layout engine.

* * *

Expand All @@ -82,7 +82,7 @@
<!-- div -->

### <a id="platformmanufacturer"></a>`platform.manufacturer`
<a href="#platformmanufacturer">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L978 "View in source") [&#x24C9;][1]
<a href="#platformmanufacturer">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L953 "View in source") [&#x24C9;][1]

*(string, null)*: The name of the product's manufacturer.

Expand All @@ -94,7 +94,7 @@
<!-- div -->

### <a id="platformname"></a>`platform.name`
<a href="#platformname">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L909 "View in source") [&#x24C9;][1]
<a href="#platformname">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L961 "View in source") [&#x24C9;][1]

*(string, null)*: The name of the browser/environment.

Expand All @@ -106,7 +106,7 @@
<!-- div -->

### <a id="platformprerelease"></a>`platform.prerelease`
<a href="#platformprerelease">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L986 "View in source") [&#x24C9;][1]
<a href="#platformprerelease">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L969 "View in source") [&#x24C9;][1]

*(string, null)*: The alpha/beta release indicator.

Expand All @@ -118,7 +118,7 @@
<!-- div -->

### <a id="platformproduct"></a>`platform.product`
<a href="#platformproduct">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L994 "View in source") [&#x24C9;][1]
<a href="#platformproduct">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L977 "View in source") [&#x24C9;][1]

*(string, null)*: The name of the product hosting the browser.

Expand All @@ -130,7 +130,7 @@
<!-- div -->

### <a id="platformua"></a>`platform.ua`
<a href="#platformua">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1002 "View in source") [&#x24C9;][1]
<a href="#platformua">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L985 "View in source") [&#x24C9;][1]

*(string, null)*: The browser's user agent string.

Expand All @@ -142,7 +142,7 @@
<!-- div -->

### <a id="platformversion"></a>`platform.version`
<a href="#platformversion">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L901 "View in source") [&#x24C9;][1]
<a href="#platformversion">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L993 "View in source") [&#x24C9;][1]

*(string, null)*: The browser/environment version.

Expand All @@ -153,13 +153,13 @@

<!-- div -->

### <a id="platformparseuanavigatoruseragent"></a>`platform.parse([ua = navigator.userAgent])`
<a href="#platformparseuanavigatoruseragent">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L248 "View in source") [&#x24C9;][1]
### <a id="platformparseuanavigatoruseragent"></a>`platform.parse([ua=navigator.userAgent])`
<a href="#platformparseuanavigatoruseragent">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L195 "View in source") [&#x24C9;][1]

Creates a new platform object.

#### Arguments
1. `[ua = navigator.userAgent]` *(string)*: The user agent string.
1. `[ua=navigator.userAgent]` *(Object|string)*: The user agent string or context object.

#### Returns
*(Object)*: A platform object.
Expand All @@ -172,7 +172,7 @@ Creates a new platform object.
<!-- div -->

### <a id="platformtostring"></a>`platform.toString()`
<a href="#platformtostring">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L543 "View in source") [&#x24C9;][1]
<a href="#platformtostring">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L560 "View in source") [&#x24C9;][1]

Returns `platform.description` when the platform object is coerced to a string.

Expand All @@ -194,7 +194,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->

### <a id="platformos"></a>`platform.os`
<a href="#platformos">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L917 "View in source") [&#x24C9;][1]
<a href="#platformos">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1001 "View in source") [&#x24C9;][1]

*(Object)*: The name of the operating system.

Expand All @@ -206,7 +206,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->

### <a id="platformosarchitecture"></a>`platform.os.architecture`
<a href="#platformosarchitecture">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L929 "View in source") [&#x24C9;][1]
<a href="#platformosarchitecture">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1009 "View in source") [&#x24C9;][1]

*(number, null)*: The CPU architecture the OS is built for.

Expand All @@ -218,7 +218,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->

### <a id="platformosfamily"></a>`platform.os.family`
<a href="#platformosfamily">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L937 "View in source") [&#x24C9;][1]
<a href="#platformosfamily">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1017 "View in source") [&#x24C9;][1]

*(string, null)*: The family of the OS.

Expand All @@ -230,7 +230,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->

### <a id="platformosversion"></a>`platform.os.version`
<a href="#platformosversion">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L945 "View in source") [&#x24C9;][1]
<a href="#platformosversion">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1025 "View in source") [&#x24C9;][1]

*(string, null)*: The version of the OS.

Expand All @@ -242,7 +242,7 @@ Returns `platform.description` when the platform object is coerced to a string.
<!-- div -->

### <a id="platformostostring"></a>`platform.os.toString()`
<a href="#platformostostring">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L953 "View in source") [&#x24C9;][1]
<a href="#platformostostring">#</a> [&#x24C8;](https://github.com/bestiejs/platform.js/blob/master/platform.js#L1033 "View in source") [&#x24C9;][1]

Returns the OS string.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platform",
"version": "1.0.0",
"version": "1.1.0",
"description": "A platform detection library that works on nearly all JavaScript platforms.",
"homepage": "https://github.com/bestiejs/platform.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion platform.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Platform.js v1.0.0 <http://mths.be/platform>
* Platform.js v1.1.0 <http://mths.be/platform>
* Copyright 2010-2014 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
Expand Down

0 comments on commit 4abb2b3

Please sign in to comment.