cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4131) Have plugins use relative require()s when requiring their own modules
Date Tue, 09 Jul 2013 19:11:52 GMT

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

ASF subversion and git services commented on CB-4131:
-----------------------------------------------------

Commit 5694fefb8e20e228e28b717d87f68dc83df1dbe8 in branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=5694fef ]

[CB-4131] Use relative require paths in FileTransfer plugin.

                
> Have plugins use relative require()s when requiring their own modules
> ---------------------------------------------------------------------
>
>                 Key: CB-4131
>                 URL: https://issues.apache.org/jira/browse/CB-4131
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: CordovaJS
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> [~jeffheifetz] added support for this a couple versions ago, so we should use it in our
core plugins to set the example.
> E.g.: instead of:
> require('org.apache.cordova.core.file.FileEntry')
> We should use:
> require('./FileEntry')

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

Mime
View raw message