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 2015/02/12 02:49:06 UTC
[10/13] cordova-plugin-file-transfer git commit: Fixes typo,
introduced in
https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46
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-...@microsoft.com>
Authored: Fri Feb 6 14:53:57 2015 +0300
Committer: Jesse MacFadyen <pu...@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