Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 287119E90 for ; Wed, 29 Feb 2012 18:15:31 +0000 (UTC) Received: (qmail 97604 invoked by uid 500); 29 Feb 2012 18:15:31 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 97565 invoked by uid 500); 29 Feb 2012 18:15:31 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 97558 invoked by uid 99); 29 Feb 2012 18:15:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 18:15:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.114] (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Feb 2012 18:15:28 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C23F74D0E3; Wed, 29 Feb 2012 18:15:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: macdonst@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: Properly set fileSystem.root.name to the name of the directory Message-Id: <20120229181507.C23F74D0E3@tyr.zones.apache.org> Date: Wed, 29 Feb 2012 18:15:07 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Updated Branches: refs/heads/master a1bf7477b -> abc2ee452 Properly set fileSystem.root.name to the name of the directory Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/abc2ee45 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/abc2ee45 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/abc2ee45 Branch: refs/heads/master Commit: abc2ee4520e297951a8e8769681bea3f6abde938 Parents: a1bf747 Author: macdonst Authored: Wed Feb 29 13:14:53 2012 -0500 Committer: macdonst Committed: Wed Feb 29 13:14:53 2012 -0500 ---------------------------------------------------------------------- lib/plugin/FileSystem.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/abc2ee45/lib/plugin/FileSystem.js ---------------------------------------------------------------------- diff --git a/lib/plugin/FileSystem.js b/lib/plugin/FileSystem.js index c4c3f84..53636b5 100644 --- a/lib/plugin/FileSystem.js +++ b/lib/plugin/FileSystem.js @@ -10,7 +10,7 @@ var DirectoryEntry = require('cordova/plugin/DirectoryEntry'); var FileSystem = function(name, root) { this.name = name || null; if (root) { - this.root = new DirectoryEntry(name, root); + this.root = new DirectoryEntry(root.name, root.fullPath); } };