[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 <[email protected]> Authored: Mon Jun 24 16:00:54 2013 -0700 Committer: Shazron Abdullah <[email protected]> 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");
