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/07/09 21:23:48 UTC

[jira] [Resolved] (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:all-tabpanel ]

Andrew Grieve resolved CB-4131.
-------------------------------

    Resolution: Fixed
    
> 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