Updated Branches:
  refs/heads/master 22b80dd9f -> 45924d15b

Replacing incorrect use of progress event error handler with file error handler 
in documentation.


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/39eb904a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/39eb904a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/39eb904a

Branch: refs/heads/master
Commit: 39eb904a677bd20d850296227c75e59513f87685
Parents: 22b80dd
Author: Michal Mocny <mmo...@gmail.com>
Authored: Thu Aug 16 11:37:31 2012 -0400
Committer: Shazron Abdullah <shaz...@apache.org>
Committed: Thu Aug 16 13:13:41 2012 -0700

----------------------------------------------------------------------
 .../en/2.0.0/cordova/file/filereader/filereader.md |    6 +++---
 .../en/2.0.0/cordova/file/filesystem/filesystem.md |    4 ++--
 .../file/localfilesystem/localfilesystem.md        |    4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/39eb904a/docs/en/2.0.0/cordova/file/filereader/filereader.md
----------------------------------------------------------------------
diff --git a/docs/en/2.0.0/cordova/file/filereader/filereader.md 
b/docs/en/2.0.0/cordova/file/filereader/filereader.md
index 2e9a8f1..7924917 100644
--- a/docs/en/2.0.0/cordova/file/filereader/filereader.md
+++ b/docs/en/2.0.0/cordova/file/filereader/filereader.md
@@ -179,8 +179,8 @@ Full Example
             reader.readAsText(file);
         }
         
-        function fail(evt) {
-            console.log(evt.target.error.code);
+        function fail(error) {
+            console.log(error.code);
         }
         
         </script>
@@ -193,4 +193,4 @@ Full Example
 
 iOS Quirks
 ----------
-- __encoding__ parameter is not supported, UTF8 encoding is always used.
\ No newline at end of file
+- __encoding__ parameter is not supported, UTF8 encoding is always used.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/39eb904a/docs/en/2.0.0/cordova/file/filesystem/filesystem.md
----------------------------------------------------------------------
diff --git a/docs/en/2.0.0/cordova/file/filesystem/filesystem.md 
b/docs/en/2.0.0/cordova/file/filesystem/filesystem.md
index 74990fb..c916526 100644
--- a/docs/en/2.0.0/cordova/file/filesystem/filesystem.md
+++ b/docs/en/2.0.0/cordova/file/filesystem/filesystem.md
@@ -78,8 +78,8 @@ Full Example
                        console.log(fileSystem.root.name);
                }
                
-               function fail(evt) {
-                       console.log(evt.target.error.code);
+               function fail(error) {
+                       console.log(error.code);
                }
                
         </script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/39eb904a/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md
----------------------------------------------------------------------
diff --git a/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md 
b/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md
index 2828727..e31f7f1 100644
--- a/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md
+++ b/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md
@@ -97,8 +97,8 @@ Full Example
                        console.log(fileEntry.name);
                }
                
-               function fail(evt) {
-                       console.log(evt.target.error.code);
+               function fail(error) {
+                       console.log(error.code);
                }
                
         </script>

Reply via email to