cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [10/13] cordova-plugin-file-transfer git commit: Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46
Date Thu, 12 Feb 2015 01:49:06 GMT
Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46


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

Branch: refs/heads/master
Commit: 314677c0c3604a805a5cc1b8ccb11cc2582c8709
Parents: 5ee666c
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Fri Feb 6 14:53:57 2015 +0300
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Wed Feb 11 17:46:04 2015 -0800

----------------------------------------------------------------------
 src/windows/FileTransferProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/314677c0/src/windows/FileTransferProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/FileTransferProxy.js b/src/windows/FileTransferProxy.js
index df5dd0a..3d299ef 100644
--- a/src/windows/FileTransferProxy.js
+++ b/src/windows/FileTransferProxy.js
@@ -281,7 +281,7 @@ exec(win, fail, 'FileTransfer', 'upload',
                 // if download isn't cancelled, contunue with creating and preparing download
operation
                 var downloader = new Windows.Networking.BackgroundTransfer.BackgroundDownloader();
                 for (var header in headers) {
-                    if (header.hasOwnProperty(header)) {
+                    if (headers.hasOwnProperty(header)) {
                         downloader.setRequestHeader(header, headers[header]);
                     }
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message