cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [18/50] git commit: Initial fix for CB-5747
Date Mon, 10 Feb 2014 23:22:44 GMT
Initial fix for CB-5747


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/3e4f9cdc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/3e4f9cdc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/3e4f9cdc

Branch: refs/heads/master
Commit: 3e4f9cdc287d907679a47a32f95238180c774860
Parents: cfdb4ed
Author: Matti Eerola <matti.eerola@softapalvelin.com>
Authored: Sat Jan 11 12:37:01 2014 +0000
Committer: Matti Eerola <matti.eerola@softapalvelin.com>
Committed: Sat Jan 11 12:37:01 2014 +0000

----------------------------------------------------------------------
 src/windows8/FileProxy.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/3e4f9cdc/src/windows8/FileProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/FileProxy.js b/src/windows8/FileProxy.js
index 1445ae7..4a20c64 100644
--- a/src/windows8/FileProxy.js
+++ b/src/windows8/FileProxy.js
@@ -194,6 +194,10 @@ module.exports = {
             flag = new Flags(false, false);
         }
 
+        if (path !== null) {
+            path = path.replace("/", "\\");
+        }
+
         Windows.Storage.StorageFolder.getFolderFromPathAsync(fullPath).then(
             function (storageFolder) {
                 if (flag.create === true && flag.exclusive === true) {


Mime
View raw message