cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [3/3] docs commit: [CB-3744] InAppBrowser docs errors / cleanup
Date Mon, 24 Jun 2013 23:06:11 GMT
[CB-3744] InAppBrowser docs errors / cleanup


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

Branch: refs/heads/2.9.x
Commit: f204d7a586406228e9be335126e36485ee33a8a2
Parents: 698bb9d
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Jun 24 16:05:30 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Jun 24 16:05:30 2013 -0700

----------------------------------------------------------------------
 docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md | 6 +++---
 docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md | 6 +++---
 docs/en/edge/cordova/inappbrowser/inappbrowser.md  | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f204d7a5/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md b/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md
index 8850593..ba955a6 100644
--- a/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/2.7.0/cordova/inappbrowser/inappbrowser.md
@@ -353,7 +353,7 @@ insertCSS
     ref.insertCSS(details, callback);
 
 - __ref:__ reference to the InAppBrowser window (`InAppBrowser`)
-- __injectDetails:__ details of the script ot run (`Object`)
+- __injectDetails:__ details of the script to run (`Object`)
     - Supported keys:  (exactly one of "file" or "code" should be present)
 
             "file" - URL of the stylesheet to inject
@@ -381,7 +381,7 @@ Full Example
     <!DOCTYPE html>
     <html>
       <head>
-        <title>InAppBrowser.executeScript Example</title>
+        <title>InAppBrowser.insertCSS Example</title>
 
         <script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
         <script type="text/javascript" charset="utf-8">
@@ -396,7 +396,7 @@ Full Example
         // Inject our custom CSS into the InAppBrowser window
         //
         function changeBackgroundColor() {
-            iabRef.executeScript({
+            iabRef.insertCSS({
                 code: "body { background: #ffff00"
             }, function() {
                 alert("Styles Altered");

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f204d7a5/docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md b/docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md
index 8850593..ba955a6 100644
--- a/docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/2.8.0/cordova/inappbrowser/inappbrowser.md
@@ -353,7 +353,7 @@ insertCSS
     ref.insertCSS(details, callback);
 
 - __ref:__ reference to the InAppBrowser window (`InAppBrowser`)
-- __injectDetails:__ details of the script ot run (`Object`)
+- __injectDetails:__ details of the script to run (`Object`)
     - Supported keys:  (exactly one of "file" or "code" should be present)
 
             "file" - URL of the stylesheet to inject
@@ -381,7 +381,7 @@ Full Example
     <!DOCTYPE html>
     <html>
       <head>
-        <title>InAppBrowser.executeScript Example</title>
+        <title>InAppBrowser.insertCSS Example</title>
 
         <script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
         <script type="text/javascript" charset="utf-8">
@@ -396,7 +396,7 @@ Full Example
         // Inject our custom CSS into the InAppBrowser window
         //
         function changeBackgroundColor() {
-            iabRef.executeScript({
+            iabRef.insertCSS({
                 code: "body { background: #ffff00"
             }, function() {
                 alert("Styles Altered");

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f204d7a5/docs/en/edge/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/inappbrowser/inappbrowser.md b/docs/en/edge/cordova/inappbrowser/inappbrowser.md
index 89c4e44..9300d81 100644
--- a/docs/en/edge/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/edge/cordova/inappbrowser/inappbrowser.md
@@ -373,7 +373,7 @@ Full Example
     <!DOCTYPE html>
     <html>
       <head>
-        <title>InAppBrowser.executeScript Example</title>
+        <title>InAppBrowser.insertCSS Example</title>
 
         <script type="text/javascript" charset="utf-8" src="cordova-x.x.x.js"></script>
         <script type="text/javascript" charset="utf-8">
@@ -388,7 +388,7 @@ Full Example
         // Inject our custom CSS into the InAppBrowser window
         //
         function changeBackgroundColor() {
-            iabRef.executeScript({
+            iabRef.insertCSS({
                 code: "body { background: #ffff00"
             }, function() {
                 alert("Styles Altered");


Mime
View raw message