cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [43/50] git commit: CB-5899: Make DirectoryReader.readEntries return properly formatted Entry objects
Date Mon, 10 Feb 2014 23:23:09 GMT
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/master
Commit: 7e6afafc3fe64c764d03fa1d64813ec1dd260aa8
Parents: 5e4a875
Author: Ian Clelland <iclelland@chromium.org>
Authored: Wed Jan 29 14:01:12 2014 -0500
Committer: Ian Clelland <iclelland@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;


Mime
View raw message