You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/10 07:34:10 UTC
[jira] [Commented] (CB-9162) Plugin Variables should support a
default value
[ https://issues.apache.org/jira/browse/CB-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998050#comment-14998050 ]
ASF GitHub Bot commented on CB-9162:
------------------------------------
Github user mbektchiev commented on the pull request:
https://github.com/apache/cordova-docs/pull/415#issuecomment-155318013
Here's the JIRA issue which added this support: https://issues.apache.org/jira/browse/CB-9162
> Plugin Variables should support a default value
> -----------------------------------------------
>
> Key: CB-9162
> URL: https://issues.apache.org/jira/browse/CB-9162
> Project: Apache Cordova
> Issue Type: Improvement
> Reporter: Olivier Goguel
>
> When declaring a variable, it is possible to make it mandatory (by using the <preference> tag), but there's no way to make it optional by defining a default value.
> For example: <preference value="ENABLE_LOG" default="true" />
> This would allow users to keep on customizing specific features of the plugins while not having to worry about all the variables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org