incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject docs commit: Fixing small type in storage docs
Date Mon, 21 May 2012 13:22:10 GMT
Updated Branches:
  refs/heads/master f05abd8a1 -> 637b71ce0


Fixing small type in storage 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/637b71ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/637b71ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/637b71ce

Branch: refs/heads/master
Commit: 637b71ce00c10ecf02f1c304b3e5d5ebf4b09627
Parents: f05abd8
Author: macdonst <simon.macdonald@gmail.com>
Authored: Mon May 21 09:22:02 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Mon May 21 09:22:02 2012 -0400

----------------------------------------------------------------------
 .../cordova/storage/sqlresultset/sqlresultset.md   |    2 +-
 .../storage/sqlresultsetlist/sqlresultsetlist.md   |    6 +++---
 .../cordova/storage/sqlresultset/sqlresultset.md   |    2 +-
 .../storage/sqlresultsetlist/sqlresultsetlist.md   |    6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/637b71ce/docs/en/1.7.0/cordova/storage/sqlresultset/sqlresultset.md
----------------------------------------------------------------------
diff --git a/docs/en/1.7.0/cordova/storage/sqlresultset/sqlresultset.md b/docs/en/1.7.0/cordova/storage/sqlresultset/sqlresultset.md
index 2563508..303935b 100644
--- a/docs/en/1.7.0/cordova/storage/sqlresultset/sqlresultset.md
+++ b/docs/en/1.7.0/cordova/storage/sqlresultset/sqlresultset.md
@@ -51,7 +51,7 @@ Execute SQL Quick Example
 	function querySuccess(tx, results) {
     console.log("Returned rows = " + results.rows.length);
     // this will be true since it was a select statement and so rowsAffected was 0
-    if (!resultSet.rowsAffected) {
+    if (!results.rowsAffected) {
       console.log('No rows affected!');
       return false;
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/637b71ce/docs/en/1.7.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
----------------------------------------------------------------------
diff --git a/docs/en/1.7.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md b/docs/en/1.7.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
index 2e50969..f329f58 100644
--- a/docs/en/1.7.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
+++ b/docs/en/1.7.0/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
@@ -53,9 +53,9 @@ Execute SQL Quick Example
 
 	function querySuccess(tx, results) {
 		var len = results.rows.length;
-	���	console.log("DEMO table: " + len + " rows found.");
-	���	for (var i=0; i<len; i++){
-	����	console.log("Row = " + i + " ID = " + results.rows.item(i).id + " Data =  "
+ results.rows.item(i).data);
+	    console.log("DEMO table: " + len + " rows found.");
+	    for (var i=0; i<len; i++){
+	        console.log("Row = " + i + " ID = " + results.rows.item(i).id + " Data =  " + results.rows.item(i).data);
 		}
 	}
 	

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/637b71ce/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md b/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
index c8b358c..62f5869 100644
--- a/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
+++ b/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
@@ -102,7 +102,7 @@ Full Example
 		function querySuccess(tx, results) {
       console.log("Returned rows = " + results.rows.length);
       // this will be true since it was a select statement and so rowsAffected was 0
-      if (!resultSet.rowsAffected) {
+      if (!results.rowsAffected) {
         console.log('No rows affected!');
         return false;
       }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/637b71ce/docs/en/edge/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/sqlresultsetlist/sqlresultsetlist.md b/docs/en/edge/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
index dbd20db..7d0333b 100644
--- a/docs/en/edge/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
+++ b/docs/en/edge/cordova/storage/sqlresultsetlist/sqlresultsetlist.md
@@ -54,9 +54,9 @@ Execute SQL Quick Example
 
 	function querySuccess(tx, results) {
 		var len = results.rows.length;
-	���	console.log("DEMO table: " + len + " rows found.");
-	���	for (var i=0; i<len; i++){
-	����	console.log("Row = " + i + " ID = " + results.rows.item(i).id + " Data =  "
+ results.rows.item(i).data);
+	   	console.log("DEMO table: " + len + " rows found.");
+	   	for (var i=0; i<len; i++){
+	        console.log("Row = " + i + " ID = " + results.rows.item(i).id + " Data =  " + results.rows.item(i).data);
 		}
 	}
 	


Mime
View raw message