cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4916) device.name is deprecated so don't use it in example code
Date Thu, 26 Sep 2013 15:48:04 GMT

    [ https://issues.apache.org/jira/browse/CB-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778918#comment-13778918
] 

ASF subversion and git services commented on CB-4916:
-----------------------------------------------------

Commit ee7ab7c8b50c5b065001117e34b60126ebf9966d in branch refs/heads/master from [~cmarcelk]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=ee7ab7c ]

[CB-4916]: change examples to not use deprecated property

Change the use of device.name to device.model. Also get device.model
to appear in the main device doc page.

                
> 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
>
> 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