cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject docs commit: [CB-2677] Whitespace cleanup and convert tabs to spaces.
Date Wed, 20 Mar 2013 20:19:53 GMT
Updated Branches:
  refs/heads/master ce4ac58df -> 490fdfc33


[CB-2677] Whitespace cleanup and convert tabs to spaces.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/490fdfc3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/490fdfc3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/490fdfc3

Branch: refs/heads/master
Commit: 490fdfc33c58ffa91cf1d63656e86f678c100615
Parents: ce4ac58
Author: Michael Brooks <michael@michaelbrooks.ca>
Authored: Wed Mar 20 13:19:33 2013 -0700
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Wed Mar 20 13:19:33 2013 -0700

----------------------------------------------------------------------
 .../cordova/notification/notification.prompt.md    |   40 +++++++-------
 1 files changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/490fdfc3/docs/en/edge/cordova/notification/notification.prompt.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/notification/notification.prompt.md b/docs/en/edge/cordova/notification/notification.prompt.md
index 57bcbd7..836e636 100644
--- a/docs/en/edge/cordova/notification/notification.prompt.md
+++ b/docs/en/edge/cordova/notification/notification.prompt.md
@@ -28,7 +28,7 @@ Shows a customizable prompt dialog box.
 - __promptCallback:__ - Callback to invoke when a button is pressed (`Function`)
 - __title:__ Dialog title (`String`) (Optional, Default: "Prompt")
 - __buttonLabels:__ Array of strings for the button labels (`Array`) (Optional, Default:
["OK","Cancel"])
-    
+
 Description
 -----------
 
@@ -53,22 +53,22 @@ Supported Platforms
 Quick Example
 -------------
 
-	// process the promp dialog results
-	function onPrompt(results) {
-		alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
-	}
+    // process the promp dialog results
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
 
     // Show a custom prompt dialog
     //
     function showPrompt() {
         navigator.notification.prompt(
-	        'Please enter your name',  // message
-			onPrompt,	               // callback to invoke
-	        'Registration',            // title
-	        ['Ok','Exit']              // buttonLabels
+            'Please enter your name',  // message
+            onPrompt,	               // callback to invoke
+            'Registration',            // title
+            ['Ok','Exit']              // buttonLabels
         );
     }
-        
+
 Full Example
 ------------
 
@@ -89,23 +89,23 @@ Full Example
         function onDeviceReady() {
             // Empty
         }
-    
-		// process the promptation dialog result
-		function onPrompt(results) {
-			alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
-		}
+
+        // process the promptation dialog result
+        function onPrompt(results) {
+            alert("You selected button number " + results.buttonIndex + " and entered " +
results.input1);
+        }
 
         // Show a custom prompt dialog
         //
         function showPrompt() {
             navigator.notification.prompt(
-	            'Please enter your name',  // message
-			    onPrompt,				   // callback to invoke
-	            'Registration',            // title
-	            ['Ok','Exit']              // buttonLabels
+                'Please enter your name',  // message
+                onPrompt,                  // callback to invoke
+                'Registration',            // title
+                ['Ok','Exit']              // buttonLabels
             );
         }
-    
+
         </script>
       </head>
       <body>


Mime
View raw message