You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/08/14 22:19:47 UTC

[jira] [Closed] (CB-4289) js-module tag should allow duplicate names

     [ https://issues.apache.org/jira/browse/CB-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve closed CB-4289.
-----------------------------

    Resolution: Duplicate
    
> js-module tag should allow duplicate names
> ------------------------------------------
>
>                 Key: CB-4289
>                 URL: https://issues.apache.org/jira/browse/CB-4289
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS, Docs, Plugman
>            Reporter: Max Woghiren
>            Assignee: Max Woghiren
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> From an email from Andrew Grieve:
> {quote}One use-case that's come up with the core plugins is the ability to
> clobber one module with a platform-specific one (instead of merging with
> it).
> Right now where this was happening we're copy & pasting the <js-module> tag
> for each non-specialized platform. Not great.
> Option 1:
> Allow <js-module> within platform to have the same name= without plugman
> complaining
> Option 2:
> <js-module name="SameName" override="true">{quote}
> I like the explicitness of option 2.

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