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 4BB18109CF for ; Tue, 9 Jul 2013 18:45:51 +0000 (UTC) Received: (qmail 48490 invoked by uid 500); 9 Jul 2013 18:45:51 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 48387 invoked by uid 500); 9 Jul 2013 18:45:51 -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 48316 invoked by uid 99); 9 Jul 2013 18:45:49 -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 18:45:49 +0000 Date: Tue, 9 Jul 2013 18:45:48 +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=13703620#comment-13703620 ] ASF subversion and git services commented on CB-4131: ----------------------------------------------------- Commit 53ebe9048d2e4bfedbe90f150437e87295d26949 in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-console.git;h=53ebe90 ] [CB-4131] Use relative require paths in console 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