W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2008

html5/offline-webapps Overview.html,1.13,1.14 Overview.src.html,1.12,1.13

From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 06 Jun 2008 15:16:05 +0000
To: public-html-commits@w3.org
Message-Id: <E1K4dfh-0006I8-9S@lionel-hutz.w3.org>

Update of /sources/public/html5/offline-webapps
In directory hutz:/tmp/cvs-serv24162

Modified Files:
	Overview.html Overview.src.html 
Log Message:
fix examples

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/offline-webapps/Overview.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Overview.html	28 May 2008 22:33:33 -0000	1.13
+++ Overview.html	6 Jun 2008 15:16:03 -0000	1.14
@@ -184,7 +184,7 @@
   db.transaction(function(tx) {
     tx.executeSql('CREATE TABLE IF NOT EXISTS Notes(title TEXT, body TEXT)', 
       []);
-    tx.executeSql('SELECT * FROM Notes', [], function(rs) {
+    tx.executeSql('SELECT * FROM Notes', [], function(tx, rs) {
       for(var i = 0; i &lt; rs.rows.length; i++) {
         renderNote(rs.rows[i]);
       }
@@ -195,7 +195,7 @@
 function insertNote(title, text) {
   db.transaction(function(tx) {
     tx.executeSql('INSERT INTO Notes VALUES(?, ?)', [ title, text ],
-      function() {
+      function(tx, rs) {
         // &hellip;
       },
       function(tx, error) {

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/offline-webapps/Overview.src.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Overview.src.html	28 May 2008 22:26:35 -0000	1.12
+++ Overview.src.html	6 Jun 2008 15:16:03 -0000	1.13
@@ -55,7 +55,7 @@
   how these features might be used to create Web applications that work
   offline. [<cite><span>HTML5</span></cite>]</p>
 
-  <h2 id="sotd" class="no-num no-toc">Status of this Document</h2>
+  <h2 id="sotd" class="no-num no-toc">Status of This Document</h2>
 
   <p><em>This section describes the status of this document at the time of
   its publication. Other documents may supersede this document. A list of
@@ -158,7 +158,7 @@
   db.transaction(function(tx) {
     tx.executeSql('CREATE TABLE IF NOT EXISTS Notes(title TEXT, body TEXT)', 
       []);
-    tx.executeSql('SELECT * FROM Notes', [], function(rs) {
+    tx.executeSql('SELECT * FROM Notes', [], function(tx, rs) {
       for(var i = 0; i &lt; rs.rows.length; i++) {
         renderNote(rs.rows[i]);
       }
@@ -169,7 +169,7 @@
 function insertNote(title, text) {
   db.transaction(function(tx) {
     tx.executeSql('INSERT INTO Notes VALUES(?, ?)', [ title, text ],
-      function() {
+      function(tx, rs) {
         // &hellip;
       },
       function(tx, error) {
Received on Friday, 6 June 2008 15:16:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:56 GMT