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 2012/05/31 19:45:47 UTC
[2/2] docs commit: Add sections to platform whitelisting section.
Add sections to platform whitelisting section.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/82aa063c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/82aa063c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/82aa063c
Branch: refs/heads/master
Commit: 82aa063c0df351fa9b184c8051fc2822e0e67d78
Parents: 481dc21
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu May 31 10:19:58 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu May 31 10:19:58 2012 -0700
----------------------------------------------------------------------
docs/en/edge/guide/whitelist/index.md | 12 ++++++++++++
template/docs/default/index.css | 2 +-
2 files changed, 13 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/82aa063c/docs/en/edge/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/whitelist/index.md b/docs/en/edge/guide/whitelist/index.md
index c7f8c43..2ce8b3c 100644
--- a/docs/en/edge/guide/whitelist/index.md
+++ b/docs/en/edge/guide/whitelist/index.md
@@ -56,10 +56,14 @@ Access to all domains (e.g. [google.com][2] and [developer.mozilla.org][7]):
Android
-------
+### Details
+
The whitelisting rules are found in `res/xml/cordova.xml` and declared with the element `<access origin="..." />`.
Android has full support for the whitelisting syntax.
+### Syntax
+
Access to [google.com][2]:
<access origin="http://google.com" />
@@ -72,10 +76,14 @@ Domain whitelisting is unsupported on Bada. By default, all domains are accessib
BlackBerry
----------
+### Details
+
The whitelisting rules are found in `www/config.xml` and declared with the element `<access uri="..." />`.
For a complete reference, see the [BlackBerry WebWorks Access Element documentation][8].
+### Syntax
+
Access to [google.com][2]:
<access uri="http://google.com" subdomains="false" />
@@ -95,6 +103,8 @@ Access to all domains, including `file://` protocol:
iOS
---
+### Details
+
1. Open `Cordova.plist`.
- In Xcode, it is found at `AppName/Supporting Files/Cordova.plist`
- In the directory, it is found at `AppName/Cordova.plist`
@@ -103,6 +113,8 @@ iOS
Domain protocols (e.g. `http://` and `https://`) are not supported by iOS.
+### Syntax
+
Access to [google.com][2] and the secure [google.com][3] (`https://`):
google.com
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/82aa063c/template/docs/default/index.css
----------------------------------------------------------------------
diff --git a/template/docs/default/index.css b/template/docs/default/index.css
index 2ad1761..cf10b2b 100644
--- a/template/docs/default/index.css
+++ b/template/docs/default/index.css
@@ -203,7 +203,7 @@ h1, ul, li {
text-shadow:#FFFFFF 0px 1px 1px;
}
#content h3 {
- font-size:1.2em;
+ font-size:1.1em;
font-weight:bold;
margin:0.8em 0px 0.5em 0px;
text-shadow:#FFFFFF 0px 1px 1px;