incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [2/2] docs commit: Fixing a few other fail handlers in docs
Date Thu, 16 Aug 2012 20:13:56 GMT
Fixing a few other fail handlers in docs


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

Branch: refs/heads/master
Commit: 45924d15b5da343dc5fbcbaea8f5a39f09a34dbc
Parents: 39eb904
Author: Michal Mocny <mmocny@gmail.com>
Authored: Thu Aug 16 14:31:58 2012 -0400
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Aug 16 13:13:41 2012 -0700

----------------------------------------------------------------------
 .../en/2.0.0/cordova/file/filereader/filereader.md |    4 ++--
 .../en/2.0.0/cordova/file/filewriter/filewriter.md |   10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/45924d15/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 7924917..e177090 100644
--- a/docs/en/2.0.0/cordova/file/filereader/filereader.md
+++ b/docs/en/2.0.0/cordova/file/filereader/filereader.md
@@ -74,7 +74,7 @@ Quick Example
 		reader.readAsDataURL(file);
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	
@@ -100,7 +100,7 @@ Quick Example
 		reader.readAsText(file);
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/45924d15/docs/en/2.0.0/cordova/file/filewriter/filewriter.md
----------------------------------------------------------------------
diff --git a/docs/en/2.0.0/cordova/file/filewriter/filewriter.md b/docs/en/2.0.0/cordova/file/filewriter/filewriter.md
index edd8707..ac1843e 100644
--- a/docs/en/2.0.0/cordova/file/filewriter/filewriter.md
+++ b/docs/en/2.0.0/cordova/file/filewriter/filewriter.md
@@ -68,7 +68,7 @@ Seek Quick Example
 		writer.seek(writer.length);	
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	
@@ -81,7 +81,7 @@ Truncate Quick Example
 		writer.truncate(10);	
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	
@@ -97,7 +97,7 @@ Write Quick Example
 		writer.write("some sample text");
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	
@@ -114,7 +114,7 @@ Append Quick Example
 		writer.write("appended text");
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	
@@ -131,7 +131,7 @@ Abort Quick Example
 		writer.abort();
 	};
 
-	var fail = function(evt) {
+	var fail = function(error) {
     	console.log(error.code);
 	};
 	


Mime
View raw message