cordova-issues mailing list archives

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

             Summary: 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
            Priority: Trivial


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