Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1187310AFE for ; Tue, 9 Jul 2013 19:11:53 +0000 (UTC) Received: (qmail 17162 invoked by uid 500); 9 Jul 2013 19:11:52 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 17146 invoked by uid 500); 9 Jul 2013 19:11:52 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 17105 invoked by uid 99); 9 Jul 2013 19:11:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 19:11:52 +0000 Date: Tue, 9 Jul 2013 19:11:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4131) Have plugins use relative require()s when requiring their own modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703671#comment-13703671 ] ASF subversion and git services commented on CB-4131: ----------------------------------------------------- Commit e71cc229fe3640e9a121e4c4af7077519478e1b4 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=e71cc22 ] [CB-4131] Use relative require paths in file 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