cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-3954) jsmodule name attribute can't be reused in plugin.xml
Date Wed, 14 Aug 2013 20:19:47 GMT


Andrew Grieve commented on CB-3954:

Marked it as a dupe.
> jsmodule name attribute can't be reused in plugin.xml
> -----------------------------------------------------
>                 Key: CB-3954
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, Plugman
>    Affects Versions: 2.9.0
>            Reporter: Steve Gill
>            Assignee: Filip Maj
>            Priority: Minor
> Not sure if bug or intended. For the file plugin (and some other plugins), platform specific
js exists. In file's case, two entry.js files exist. One is in common, and one is ios specific.
The ios one is supposed to merge into the common one. Jsmodules support merging. These are
the two jsmodule blocks I am working with.
> <js-module src="www/Entry.js" name="Entry">
>     <clobbers target="window.Entry" />
> </js-module> 
> This one is nested in the ios platform tag
> <js-module src="www/ios/Entry.js" name="Entry">
>     <merges target="window.Entry" />
> </js-module>
> The ios specific JS does not merge in this case. To fix this, I just had to change the
name attribute on the ios specific jsmodule call. I changed it to Entry1 instead of Entry.
This does the trick. 
> This is probably not a bug, but people might run into it. I suggest adding it to the
> Thoughts?

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:

View raw message