cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/2] cordova-plugin-device git commit: Merge branch 'master' of https://github.com/Ritzlgrmft/cordova-plugin-device
Date Mon, 04 Jan 2016 22:21:27 GMT
Merge branch 'master' of https://github.com/Ritzlgrmft/cordova-plugin-device


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/8846ac87
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/8846ac87
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/8846ac87

Branch: refs/heads/master
Commit: 8846ac877b2c2c05e2bad4f99ecd113b64550d8d
Parents: 86de36a a1a025f
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Mon Jan 4 14:21:12 2016 -0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Mon Jan 4 14:21:12 2016 -0800

----------------------------------------------------------------------
 README.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/8846ac87/README.md
----------------------------------------------------------------------
diff --cc README.md
index a2f1e02,ec41cf4..413a43b
--- a/README.md
+++ b/README.md
@@@ -226,10 -217,30 +227,32 @@@ Get the operating system version
      // Windows Phone 7: returns current OS version number, ex. on Mango returns 7.10.7720
      // Windows 8: return the current OS version, ex on Windows 8.1 returns 6.3.9600.16384
      // Tizen: returns "TIZEN_20120425_2"
 +    // OSX:        El Capitan would return "10.11.2"
 +    //
      var deviceVersion = device.version;
  
+ ## device.manufacturer
+ 
+ Get the device's manufacturer.
+ 
+     var string = device.manufacturer;
+ 
+ ### Supported Platforms
+ 
+ - Android 
+ - BlackBerry 10
+ - iOS
+ - Windows Phone 7 and 8
+ - Windows 8
+ 
+ ### Quick Example
+ 
+     // Android:    Motorola XT1032 would return "motorola"
+     // BlackBerry: returns "BlackBerry"
+     // iPhone:     returns "Apple"
+     //
+     var deviceManufacturer = device.manufacturer;
+ 
  ## device.isVirtual
  
  whether the device is running on a simulator.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message