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

[4/4] docs commit: [CB-3744] InAppBrowser docs errors / cleanup

[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/8730b4db
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/8730b4db
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/8730b4db

Branch: refs/heads/2.8.x
Commit: 8730b4db236a0c4cef86cf12136a6531d42f743a
Parents: ba9113f
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jun 24 16:00:54 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jun 24 16:00:54 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  | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/8730b4db/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/8730b4db/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/8730b4db/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 8850593..ba955a6 100644
--- a/docs/en/edge/cordova/inappbrowser/inappbrowser.md
+++ b/docs/en/edge/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");