You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/01/29 20:01:32 UTC

git commit: CB-5899: Make DirectoryReader.readEntries return properly formatted Entry objects

Updated Branches:
  refs/heads/dev 5e4a8756f -> 7e6afafc3


CB-5899: Make DirectoryReader.readEntries return properly formatted Entry objects


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/7e6afafc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/7e6afafc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/7e6afafc

Branch: refs/heads/dev
Commit: 7e6afafc3fe64c764d03fa1d64813ec1dd260aa8
Parents: 5e4a875
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed Jan 29 14:01:12 2014 -0500
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed Jan 29 14:01:12 2014 -0500

----------------------------------------------------------------------
 www/DirectoryReader.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/7e6afafc/www/DirectoryReader.js
----------------------------------------------------------------------
diff --git a/www/DirectoryReader.js b/www/DirectoryReader.js
index af962e8..70f444c 100644
--- a/www/DirectoryReader.js
+++ b/www/DirectoryReader.js
@@ -57,6 +57,7 @@ DirectoryReader.prototype.readEntries = function(successCallback, errorCallback)
             entry.isFile = result[i].isFile;
             entry.name = result[i].name;
             entry.fullPath = result[i].fullPath;
+            entry.filesystem = new (require('./FileSystem'))(result[i].filesystemName);
             retVal.push(entry);
         }
         reader.hasReadEntries = true;