You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcel Kinard (JIRA)" <ji...@apache.org> on 2013/09/26 17:52:03 UTC
[jira] [Resolved] (CB-4916) device.name is deprecated so don't use
it in example code
[ https://issues.apache.org/jira/browse/CB-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Kinard resolved CB-4916.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.1.0
Good catch, Peter. Fixed in master, should be visible on cordova.apache.org/docs upon the next publish.
> device.name is deprecated so don't use it in example code
> ---------------------------------------------------------
>
> Key: CB-4916
> URL: https://issues.apache.org/jira/browse/CB-4916
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs
> Affects Versions: 2.9.0
> Reporter: Peter
> Assignee: Marcel Kinard
> Priority: Trivial
> Fix For: 3.1.0
>
>
> The device.name is deprecated and doc says to use device.model instead.
> http://cordova.apache.org/docs/en/edge/cordova_device_device.md.html#device.name
> So the documentation show follow its own advice and use device.model instead of device.name in the example code. See:
> * device.cordova Full Example
> * device.platform Full Example
> * device.uuid Full Example
> * device.version Full Example
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira