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 14:33:52 UTC

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

Andrew Grieve created CB-4131:
---------------------------------

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