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

[22/28] git commit: wrong example given

wrong example given


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/148774d6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/148774d6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/148774d6

Branch: refs/heads/master
Commit: 148774d66a8f22db817e3f70effaf92de651eb9b
Parents: 3a65011
Author: Piotr Zalewa <pi...@zalewa.info>
Authored: Thu Nov 28 14:50:32 2013 +0100
Committer: hermwong <he...@gmail.com>
Committed: Tue Dec 3 13:32:27 2013 -0800

----------------------------------------------------------------------
 README.md | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/148774d6/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 2c42361..f536c6e 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,4 @@ If you are not using the Cordova Command-line Interface, follow [Using Plugman t
 
 Edit manifest.webapp and add permissions field as described in [Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest#permissions).
 There is also a need to change the webapp type to "privileged"  - [Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest#type).
-All privileged apps enforce [Content Security Policy](https://developer.mozilla.org/en-US/Apps/CSP) which forbids inline script. Initialize your application in another way (i.e. start it on document load in index.js)
-
-    document.onload = app.initialize;
-
+All privileged apps enforce [Content Security Policy](https://developer.mozilla.org/en-US/Apps/CSP) which forbids inline script. Initialize your application in another way.