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/10/17 21:10:44 UTC
[jira] [Created] (CB-5121) deprecate device.cordova in favor of
cordova.version
Marcel Kinard created CB-5121:
---------------------------------
Summary: deprecate device.cordova in favor of cordova.version
Key: CB-5121
URL: https://issues.apache.org/jira/browse/CB-5121
Project: Apache Cordova
Issue Type: Improvement
Components: Plugin Device
Affects Versions: 3.0.0
Reporter: Marcel Kinard
Priority: Minor
Per CB-5085 it was originally getting device.cordova from the native code in the device plugin. When fixing CB-5085 that was moved into the js for the device plugin (which is an improvement). This could be improved further to deprecate device.cordova entirely and replace it with the already-existing cordova.version. The benefit is that the device plugin would not be required for fetching the Cordova version, which really is a platform version and not a plugin version.
--
This message was sent by Atlassian JIRA
(v6.1#6144)