You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/09 20:41:50 UTC

[jira] [Commented] (CB-4131) Have plugins use relative require()s when requiring their own modules

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

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

Commit ba9b568c5d4c05e75dcf340f2c231fa8565ac42f in branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=ba9b568 ]

[CB-4131] Use relative require paths in camera files.

                
> 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