cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktop <...@git.apache.org>
Subject [GitHub] cordova-lib pull request: CB-11023 Add attribute through config-fi...
Date Fri, 22 Apr 2016 14:24:12 GMT
GitHub user ktop opened a pull request:

    https://github.com/apache/cordova-lib/pull/432

    CB-11023 Add attribute through config-file tag

    Add functionality to be able to add attributes to xml files through config-file tag. 
    
    Syntax:
    Able to add multiple attributes to multiple elements at once (only to direct children
of the parent). 
    ```
    <config-file target="AndroidManifest.xml" parent="/manifest" attr="true">
            <application android:name="MyApplication" android:isGame="true" />
            <uses-sdk android:maxSdkVersion="22" />
    </config-file>
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ktop/cordova-lib cb-11023

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/432.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 #432
    
----
commit aa3427ce38ef0bd2e2ac71e5d56d7d9d0dc6b15c
Author: Karen Tran <ktop500@gmail.com>
Date:   2016-04-22T14:05:12Z

    CB-11023 Add attribute through config-file tag
    
    Add back comment and fix format

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message