tobie/ua-parser — pull request #85 by closealert (2012-11-09 13:37:44+00:00)
Title: Added device parser

Added a device parser which sets the `device` attribute of the result.

```javascript
var a = p.parse('Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3');
console.dir(a);

// output:
{ family: 'Mobile Safari',
major: 5,
minor: 1,
patch: null,
os: 'iOS 5.0',
device: 'iPhone' }
```