[ https://issues.apache.org/jira/browse/CB-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583063#comment-14583063 ]
ASF GitHub Bot commented on CB-9162: ------------------------------------ GitHub user ogoguel opened a pull request: https://github.com/apache/cordova-lib/pull/247 CB-9162 - Default Variables You can merge this pull request into a Git repository by running: $ git pull https://github.com/ogoguel/cordova-lib variables Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/247.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #247 ---- commit 14e225be9eabae899796e63b6c1925bc7aab7e0d Author: Olivier Goguel <ogoguel@macbook-pro-de-olivier-bto.local> Date: 2015-06-12T06:57:02Z CB-9162 - Default Variables ---- > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org