cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kinard (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-4916) device.name is deprecated so don't use it in example code
Date Thu, 26 Sep 2013 15:52:03 GMT

     [ 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

Mime
View raw message