You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/03/26 22:10:06 UTC

docs commit: Fixing syntax error in FileTransfer upload error callback

Updated Branches:
  refs/heads/master 1c4f3f895 -> 91a4d8f90


Fixing syntax error in FileTransfer upload error callback


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/91a4d8f9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/91a4d8f9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/91a4d8f9

Branch: refs/heads/master
Commit: 91a4d8f902b0524038f967665c434e81c8a22b9f
Parents: 1c4f3f8
Author: macdonst <si...@gmail.com>
Authored: Mon Mar 26 16:08:13 2012 -0400
Committer: macdonst <si...@gmail.com>
Committed: Mon Mar 26 16:08:13 2012 -0400

----------------------------------------------------------------------
 .../phonegap/file/filetransfer/filetransfer.md     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/91a4d8f9/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/file/filetransfer/filetransfer.md b/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
index 12de7e2..85cdff5 100644
--- a/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
+++ b/docs/en/edge/phonegap/file/filetransfer/filetransfer.md
@@ -50,7 +50,7 @@ __Quick Example__
 	}
 	
     var fail = function(error) {
-        alert("An error has occurred: Code = " = error.code);
+        alert("An error has occurred: Code = " + error.code);
         console.log("upload error source " + error.source);
         console.log("upload error target " + error.target);
     }
@@ -120,7 +120,7 @@ __Full Example__
             }
             
             function fail(error) {
-                alert("An error has occurred: Code = " = error.code);
+                alert("An error has occurred: Code = " + error.code);
                 console.log("upload error source " + error.source);
                 console.log("upload error target " + error.target);
             }