You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/06/20 08:40:34 UTC
[2/2] git commit: Removed tabs
Removed tabs
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/76742113
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/76742113
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/76742113
Branch: refs/heads/master
Commit: 767421134b5e62ca6c5a4a50647a5c6634e3f404
Parents: 4f455ac
Author: Martin Gonzalez <ma...@gmail.com>
Authored: Thu Jun 19 10:41:14 2014 -0500
Committer: Martin Gonzalez <ma...@gmail.com>
Committed: Thu Jun 19 10:41:14 2014 -0500
----------------------------------------------------------------------
www/resolveLocalFileSystemURI.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/76742113/www/resolveLocalFileSystemURI.js
----------------------------------------------------------------------
diff --git a/www/resolveLocalFileSystemURI.js b/www/resolveLocalFileSystemURI.js
index bc97ff9..a5f6ed0 100644
--- a/www/resolveLocalFileSystemURI.js
+++ b/www/resolveLocalFileSystemURI.js
@@ -53,8 +53,8 @@ module.exports.resolveLocalFileSystemURL = function(uri, successCallback, errorC
var fsName = entry.filesystemName || (entry.filesystem == window.PERSISTENT ? 'persistent' : 'temporary');
fileSystems.getFs(fsName, function(fs) {
if (!fs) {
- fs = new FileSystem(fsName, {name:"", fullPath:"/"});
- }
+ fs = new FileSystem(fsName, {name:"", fullPath:"/"});
+ }
var result = (entry.isDirectory) ? new DirectoryEntry(entry.name, entry.fullPath, fs, entry.nativeURL) : new FileEntry(entry.name, entry.fullPath, fs, entry.nativeURL);
successCallback(result);
});