[ 
https://issues.apache.org/jira/browse/CB-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276443#comment-13276443
 ] 

Stephen Chester commented on CB-791:
------------------------------------

If they had different names then you would need to change your code for each 
platform to import the correct file which seems to me to be a bad idea.
                
> Add platform tags to js file names
> ----------------------------------
>
>                 Key: CB-791
>                 URL: https://issues.apache.org/jira/browse/CB-791
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: 1.7.0
>            Reporter: Stephen Belanger
>            Assignee: Filip Maj
>            Priority: Trivial
>              Labels: newbie
>
> I just spent a few hours trying to figure out why device was empty on Android 
> only to figure out my cordova-1.7.0.js file was ios-specific. It would be 
> really helpful if the file names contained platform tags to make it more 
> obvious they are platform specific. Something like cordova-ios-1.7.0.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to