cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject js commit: [common] CB-2103: added "body" property to FileTransferError.
Date Fri, 15 Feb 2013 23:07:45 GMT
Updated Branches:
  refs/heads/master 6133a7e05 -> efdf3eaf7


[common] CB-2103: added "body" property to FileTransferError.


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/efdf3eaf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/efdf3eaf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/efdf3eaf

Branch: refs/heads/master
Commit: efdf3eaf7dd4e641f45494c7472757e0f493c99f
Parents: 6133a7e
Author: Fil Maj <maj.fil@gmail.com>
Authored: Fri Feb 15 15:07:40 2013 -0800
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri Feb 15 15:07:40 2013 -0800

----------------------------------------------------------------------
 lib/common/plugin/FileTransferError.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/efdf3eaf/lib/common/plugin/FileTransferError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileTransferError.js b/lib/common/plugin/FileTransferError.js
index 7e6edb1..1394f59 100644
--- a/lib/common/plugin/FileTransferError.js
+++ b/lib/common/plugin/FileTransferError.js
@@ -23,11 +23,12 @@
  * FileTransferError
  * @constructor
  */
-var FileTransferError = function(code, source, target, status) {
+var FileTransferError = function(code, source, target, status, body) {
     this.code = code || null;
     this.source = source || null;
     this.target = target || null;
     this.http_status = status || null;
+    this.body = body || null;
 };
 
 FileTransferError.FILE_NOT_FOUND_ERR = 1;


Mime
View raw message