You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/06/12 19:50:52 UTC

[17/46] edits up to menu button event

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/capture/captureVideo.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/capture/captureVideo.md b/docs/en/edge/cordova/media/capture/captureVideo.md
index f729f16..fba61fe 100644
--- a/docs/en/edge/cordova/media/capture/captureVideo.md
+++ b/docs/en/edge/cordova/media/capture/captureVideo.md
@@ -22,7 +22,7 @@ capture.captureVideo
 
 > Start the video recorder application and return information about captured video clip file(s).
 
-    navigator.device.capture.captureVideo( 
+    navigator.device.capture.captureVideo(
 	    CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureVideoOptions options]
 	);
 
@@ -83,11 +83,11 @@ Full Example
             var i, len;
             for (i = 0, len = mediaFiles.length; i < len; i += 1) {
                 uploadFile(mediaFiles[i]);
-            }	    
+            }	
         }
 
         // Called if something bad happens.
-        // 
+        //
         function captureError(error) {
 	        var msg = 'An error occurred during capture: ' + error.code;
             navigator.notification.alert(msg, null, 'Uh oh!');
@@ -96,7 +96,7 @@ Full Example
         // A button will call this function
         //
         function captureVideo() {
-            // Launch device video recording application, 
+            // Launch device video recording application,
             // allowing user to capture up to 2 video clips
             navigator.device.capture.captureVideo(captureSuccess, captureError, {limit: 2});
         }
@@ -116,7 +116,7 @@ Full Example
                 function(error) {
                     console.log('Error uploading file ' + path + ': ' + error.code);
                 },
-                { fileName: name });   
+                { fileName: name });
         }
 
         </script>
@@ -136,7 +136,7 @@ Bada 2.x Quirks
 
 Bada supports _captureVideo_ just like the other platforms. However there is _another_ mode where you can capture a video or an image straight in the webview without launching any camera apps. In order to do that you need to:
 
-1. create a _&#60;div&#62;_ element somewhere in your document and give it an id (such as "preview"). 
+1. create a _&#60;div&#62;_ element somewhere in your document and give it an id (such as "preview").
 
         <div id="preview"></div>
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.getCurrentPosition.md b/docs/en/edge/cordova/media/media.getCurrentPosition.md
index a228d61..1aecb0f 100644
--- a/docs/en/edge/cordova/media/media.getCurrentPosition.md
+++ b/docs/en/edge/cordova/media/media.getCurrentPosition.md
@@ -33,7 +33,7 @@ Parameters
 Description
 -----------
 
-Function `media.getCurrentPosition` is an asynchronous function that returns the current position of the underlying audio file of a Media object. Also updates the ___position__ parameter within the Media object. 
+Function `media.getCurrentPosition` is an asynchronous function that returns the current position of the underlying audio file of a Media object. Also updates the ___position__ parameter within the Media object.
 
 Supported Platforms
 -------------------
@@ -69,7 +69,6 @@ Quick Example
             );
         }, 1000);
 
-
 Full Example
 ------------
 
@@ -128,7 +127,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -136,7 +135,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -151,15 +150,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.getDuration.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.getDuration.md b/docs/en/edge/cordova/media/media.getDuration.md
index c3393a8..40d8b2b 100644
--- a/docs/en/edge/cordova/media/media.getDuration.md
+++ b/docs/en/edge/cordova/media/media.getDuration.md
@@ -24,7 +24,6 @@ Returns the duration of an audio file.
 
     media.getDuration();
 
-
 Description
 -----------
 
@@ -61,7 +60,6 @@ Quick Example
             }
        }, 100);
 
-
 Full Example
 ------------
 
@@ -120,7 +118,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -128,7 +126,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -143,15 +141,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.md b/docs/en/edge/cordova/media/media.md
index 5532b96..5559f8f 100644
--- a/docs/en/edge/cordova/media/media.md
+++ b/docs/en/edge/cordova/media/media.md
@@ -24,7 +24,6 @@ Media
 
     var media = new Media(src, mediaSuccess, [mediaError], [mediaStatus]);
 
-
 Note: The current implementation does not adhere to a W3C specification for media capture, and is provided for convenience only.  A future implementation will adhere to the latest W3C specification and may deprecate the current APIs.
 
 Parameters
@@ -133,7 +132,6 @@ Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en
 
     No permissions are required.
 
-
 ### Windows Phone Quirks
     Only one media file can be played back at a time.
-    There are strict restrictions as to how your application interacts with other media. See http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh184838(v=vs.92).aspx     
+    There are strict restrictions as to how your application interacts with other media. See http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh184838(v=vs.92).aspx

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.pause.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.pause.md b/docs/en/edge/cordova/media/media.pause.md
index d3a7f1f..c937e66 100644
--- a/docs/en/edge/cordova/media/media.pause.md
+++ b/docs/en/edge/cordova/media/media.pause.md
@@ -24,7 +24,6 @@ Pauses playing an audio file.
 
     media.pause();
 
-
 Description
 -----------
 
@@ -63,10 +62,9 @@ Quick Example
         // Pause after 10 seconds
         setTimeout(function() {
             media.pause();
-        }, 10000);        
+        }, 10000);
     }
 
-
 Full Example
 ------------
 
@@ -125,7 +123,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -133,7 +131,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -148,15 +146,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.play.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.play.md b/docs/en/edge/cordova/media/media.play.md
index e402ca1..cc6abf9 100644
--- a/docs/en/edge/cordova/media/media.play.md
+++ b/docs/en/edge/cordova/media/media.play.md
@@ -24,7 +24,6 @@ Starts or resumes playing an audio file.
 
     media.play();
 
-
 Description
 -----------
 
@@ -61,7 +60,6 @@ Quick Example
         my_media.play();
     }
 
-
 Full Example
 ------------
 
@@ -121,7 +119,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -129,7 +127,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -144,15 +142,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }
@@ -189,7 +187,6 @@ iOS Quirk
         var myMedia = new Media("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3")
         myMedia.play({ playAudioWhenScreenIsLocked : false })
 
-
 - __order of file search__
 
     When only a file name or simple path is provided, iOS will search in the www for the file and then in the application documents/tmp directory.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.release.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.release.md b/docs/en/edge/cordova/media/media.release.md
index e452716..fb4f82a 100644
--- a/docs/en/edge/cordova/media/media.release.md
+++ b/docs/en/edge/cordova/media/media.release.md
@@ -24,7 +24,6 @@ Releases the underlying operating systems audio resources.
 
     media.release();
 
-
 Description
 -----------
 
@@ -109,7 +108,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -117,7 +116,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -132,15 +131,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.seekTo.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.seekTo.md b/docs/en/edge/cordova/media/media.seekTo.md
index d5cc515..96cbfc0 100644
--- a/docs/en/edge/cordova/media/media.seekTo.md
+++ b/docs/en/edge/cordova/media/media.seekTo.md
@@ -29,11 +29,10 @@ Parameters
 
 - __milliseconds__: The position to set the playback position within the audio in milliseconds. .
 
-
 Description
 -----------
 
-Function `media.seekTo` is an asynchronous function that updates the current position of the underlying audio file of a Media object. Also updates the ___position__ parameter within the Media object. 
+Function `media.seekTo` is an asynchronous function that updates the current position of the underlying audio file of a Media object. Also updates the ___position__ parameter within the Media object.
 
 Supported Platforms
 -------------------
@@ -57,7 +56,6 @@ Quick Example
             my_media.seekTo(10000);
         }, 5000);
 
-
 Full Example
 ------------
 
@@ -116,7 +114,7 @@ Full Example
      		}
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -131,15 +129,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.startRecord.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.startRecord.md b/docs/en/edge/cordova/media/media.startRecord.md
index ebdca73..b0dee1b 100644
--- a/docs/en/edge/cordova/media/media.startRecord.md
+++ b/docs/en/edge/cordova/media/media.startRecord.md
@@ -24,7 +24,6 @@ Starts recording an audio file.
 
     media.startRecord();
 
-
 Description
 -----------
 
@@ -43,7 +42,7 @@ Quick Example
 -------------
 
     // Record audio
-    // 
+    //
     function recordAudio() {
         var src = "myrecording.mp3";
         var mediaRec = new Media(src,
@@ -61,7 +60,6 @@ Quick Example
         mediaRec.startRecord();
     }
 
-
 Full Example
 ------------
 
@@ -78,7 +76,7 @@ Full Example
         document.addEventListener("deviceready", onDeviceReady, false);
 
         // Record audio
-        // 
+        //
         function recordAudio() {
             var src = "myrecording.amr";
             var mediaRec = new Media(src, onSuccess, onError);
@@ -110,15 +108,15 @@ Full Example
             console.log("recordAudio():Audio Success");
         }
     
-        // onError Callback 
+        // onError Callback
         //
         function onError(error) {
-            alert('code: '    + error.code    + '\n' + 
+            alert('code: '    + error.code    + '\n' +
                   'message: ' + error.message + '\n');
         }
 
         // Set audio position
-        // 
+        //
         function setAudioPosition(position) {
             document.getElementById('audio_position').innerHTML = position;
         }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.stop.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.stop.md b/docs/en/edge/cordova/media/media.stop.md
index 76d0953..777dea7 100644
--- a/docs/en/edge/cordova/media/media.stop.md
+++ b/docs/en/edge/cordova/media/media.stop.md
@@ -24,7 +24,6 @@ Stops playing an audio file.
 
     media.stop();
 
-
 Description
 -----------
 
@@ -63,7 +62,7 @@ Quick Example
         // Pause after 10 seconds
         setTimeout(function() {
             my_media.stop();
-        }, 10000);        
+        }, 10000);
     }
 
 Full Example
@@ -124,7 +123,7 @@ Full Example
             }
         
             // Pause audio
-            // 
+            //
             function pauseAudio() {
                 if (my_media) {
                     my_media.pause();
@@ -132,7 +131,7 @@ Full Example
             }
         
             // Stop audio
-            // 
+            //
             function stopAudio() {
                 if (my_media) {
                     my_media.stop();
@@ -147,15 +146,15 @@ Full Example
                 console.log("playAudio():Audio Success");
             }
         
-            // onError Callback 
+            // onError Callback
             //
             function onError(error) {
-                alert('code: '    + error.code    + '\n' + 
+                alert('code: '    + error.code    + '\n' +
                       'message: ' + error.message + '\n');
             }
         
             // Set audio position
-            // 
+            //
             function setAudioPosition(position) {
                 document.getElementById('audio_position').innerHTML = position;
             }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/media/media.stopRecord.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.stopRecord.md b/docs/en/edge/cordova/media/media.stopRecord.md
index f646642..fb2ddd0 100644
--- a/docs/en/edge/cordova/media/media.stopRecord.md
+++ b/docs/en/edge/cordova/media/media.stopRecord.md
@@ -24,7 +24,6 @@ Stops recording an audio file.
 
     media.stopRecord();
 
-
 Description
 -----------
 
@@ -43,7 +42,7 @@ Quick Example
 -------------
 
     // Record audio
-    // 
+    //
     function recordAudio() {
         var src = "myrecording.mp3";
         var mediaRec = new Media(src,
@@ -66,7 +65,6 @@ Quick Example
         }, 10000);
     }
 
-
 Full Example
 ------------
 
@@ -83,7 +81,7 @@ Full Example
         document.addEventListener("deviceready", onDeviceReady, false);
 
         // Record audio
-        // 
+        //
         function recordAudio() {
             var src = "myrecording.mp3";
             var mediaRec = new Media(src, onSuccess, onError);
@@ -115,15 +113,15 @@ Full Example
             console.log("recordAudio():Audio Success");
         }
     
-        // onError Callback 
+        // onError Callback
         //
         function onError(error) {
-            alert('code: '    + error.code    + '\n' + 
+            alert('code: '    + error.code    + '\n' +
                   'message: ' + error.message + '\n');
         }
 
         // Set audio position
-        // 
+        //
         function setAudioPosition(position) {
             document.getElementById('audio_position').innerHTML = position;
         }

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/notification/notification.beep.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/notification/notification.beep.md b/docs/en/edge/cordova/notification/notification.beep.md
index e9cc33c..6bccfd0 100644
--- a/docs/en/edge/cordova/notification/notification.beep.md
+++ b/docs/en/edge/cordova/notification/notification.beep.md
@@ -111,7 +111,7 @@ iPhone Quirks
 Windows Phone 7 and 8 Quirks
 -------------
 
-- Cordova lib includes a generic beep file that is used. 
+- Cordova lib includes a generic beep file that is used.
 
 Tizen Quirks
 -------------

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/notification/notification.confirm.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/notification/notification.confirm.md b/docs/en/edge/cordova/notification/notification.confirm.md
index dca3cc8..63e13c7 100755
--- a/docs/en/edge/cordova/notification/notification.confirm.md
+++ b/docs/en/edge/cordova/notification/notification.confirm.md
@@ -122,7 +122,6 @@ Windows Phone 7 and 8 Quirks
     - You can bind `window.confirm` by assigning `window.confirm = navigator.notification.confirm;`.
 - Calls to `alert` and `confirm` are non-blocking and result is only available asynchronously.
 
-
 Bada 2.x Quirks
 ---------------
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/splashscreen/splashscreen.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/splashscreen/splashscreen.md b/docs/en/edge/cordova/splashscreen/splashscreen.md
index 53df714..93519c8 100644
--- a/docs/en/edge/cordova/splashscreen/splashscreen.md
+++ b/docs/en/edge/cordova/splashscreen/splashscreen.md
@@ -22,7 +22,6 @@ Splashscreen
 
 > Enables developers to show/hide the application's splash screen.
 
-
 Methods
 -------
 
@@ -80,6 +79,5 @@ Setup
         
         
 
-
    
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/storage/database/database.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/database/database.md b/docs/en/edge/cordova/storage/database/database.md
index a52c8e1..8e84e45 100644
--- a/docs/en/edge/cordova/storage/database/database.md
+++ b/docs/en/edge/cordova/storage/database/database.md
@@ -25,8 +25,8 @@ Contains methods that allow the user to manipulate the Database
 Methods
 -------
 
-- __transaction__: Runs a database transaction. 
-- __changeVersion__: method allows scripts to atomically verify the version number and change it at the same time as doing a schema update. 
+- __transaction__: Runs a database transaction.
+- __changeVersion__: method allows scripts to atomically verify the version number and change it at the same time as doing a schema update.
 
 Details
 -------
@@ -90,7 +90,7 @@ Full Example
 			db.transaction(populateDB, errorCB, successCB);
         }
 		
-		// Populate the database 
+		// Populate the database
 		//
 		function populateDB(tx) {
 			 tx.executeSql('DROP TABLE IF EXISTS DEMO');

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/storage/localstorage/localstorage.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/localstorage/localstorage.md b/docs/en/edge/cordova/storage/localstorage/localstorage.md
index 9f24c98..837302b 100644
--- a/docs/en/edge/cordova/storage/localstorage/localstorage.md
+++ b/docs/en/edge/cordova/storage/localstorage/localstorage.md
@@ -27,7 +27,7 @@ Provides access to a W3C Storage interface (http://dev.w3.org/html5/webstorage/#
 Methods
 -------
 
-- __key__: Returns the name of the key at the position specified. 
+- __key__: Returns the name of the key at the position specified.
 - __getItem__: Returns the item identified by it's key.
 - __setItem__: Saves and item at the key provided.
 - __removeItem__: Removes the item identified by it's key.
@@ -114,7 +114,6 @@ Full Example
       </body>
     </html>
 
-
 Windows Phone 7 Quirks
 -------------
 

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/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 4cbaf68..5a04a8f 100644
--- a/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
+++ b/docs/en/edge/cordova/storage/sqlresultset/sqlresultset.md
@@ -26,13 +26,13 @@ Properties
 -------
 
 - __insertId__: the row ID of the row that the SQLResultSet object's SQL statement inserted into the database
-- __rowsAffected__: the number of rows that were changed by the SQL statement.  If the statement did not affect any rows then it is set to 0. 
+- __rowsAffected__: the number of rows that were changed by the SQL statement.  If the statement did not affect any rows then it is set to 0.
 - __rows__: a SQLResultSetRowList representing the rows returned.  If no rows are returned the object will be empty.
 
 Details
 -------
 
-When you call the SQLTransaction executeSql method its callback methods will be called with a SQLResultSet object.  The result object has three properties.  The first is the `insertId` which will return the row number of a success SQL insert statement.  If the SQL statement is not an insert then the `insertId` is not set.  The `rowsAffected` is always 0 for a SQL select statement.  For insert or update statements it returns the number of rows that have been modified.  The final property is of type SQLResultSetList and it contains the data returned from a SQL select statement.
+When you call the SQLTransaction executeSql method its callback methods is called with a SQLResultSet object.  The result object has three properties.  The first is the `insertId` which will return the row number of a success SQL insert statement.  If the SQL statement is not an insert then the `insertId` is not set.  The `rowsAffected` is always 0 for a SQL select statement.  For insert or update statements it returns the number of rows that have been modified.  The final property is of type SQLResultSetList and it contains the data returned from a SQL select statement.
 
 Supported Platforms
 -------------------
@@ -83,7 +83,7 @@ Full Example
         //
         document.addEventListener("deviceready", onDeviceReady, false);
 
-        // Populate the database 
+        // Populate the database
         //
         function populateDB(tx) {
             tx.executeSql('DROP TABLE IF EXISTS DEMO');

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md b/docs/en/edge/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
index 351a5d0..74fa5af 100644
--- a/docs/en/edge/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
+++ b/docs/en/edge/cordova/storage/sqlresultsetrowlist/sqlresultsetrowlist.md
@@ -83,7 +83,7 @@ Full Example
         //
         document.addEventListener("deviceready", onDeviceReady, false);
 
-		// Populate the database 
+		// Populate the database
 		//
 		function populateDB(tx) {
 			tx.executeSql('DROP TABLE IF EXISTS DEMO');

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6899777b/docs/en/edge/cordova/storage/sqltransaction/sqltransaction.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/storage/sqltransaction/sqltransaction.md b/docs/en/edge/cordova/storage/sqltransaction/sqltransaction.md
index f26d77e..f1348f3 100644
--- a/docs/en/edge/cordova/storage/sqltransaction/sqltransaction.md
+++ b/docs/en/edge/cordova/storage/sqltransaction/sqltransaction.md
@@ -30,7 +30,7 @@ Methods
 Details
 -------
 
-When you call a Database objects transaction method it's callback methods will be called with a SQLTransaction object.  The user can build up a database transaction by calling the executeSql method multiple times.  
+When you call a Database objects transaction method, its callback methods is called with a SQLTransaction object.  The user can build up a database transaction by calling the executeSql method multiple times.
 
 Supported Platforms
 -------------------
@@ -84,7 +84,7 @@ Full Example
 			db.transaction(populateDB, errorCB, successCB);
         }
 		
-		// Populate the database 
+		// Populate the database
 		//
 		function populateDB(tx) {
 			 tx.executeSql('DROP TABLE IF EXISTS DEMO');