cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject docs commit: [CB-4379] plugin => feature; rm plugins tag
Date Mon, 29 Jul 2013 18:40:00 GMT
Updated Branches:
  refs/heads/master c9c4c0643 -> 1904513f8


[CB-4379] plugin => feature; rm plugins tag


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

Branch: refs/heads/master
Commit: 1904513f896235741185f2067cc3015ece65cc57
Parents: c9c4c06
Author: Mike Sierra <letmespellitoutforyou@gmail.com>
Authored: Mon Jul 29 08:20:47 2013 -0400
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Mon Jul 29 11:39:39 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/config_ref/index.md               | 4 +---
 docs/en/edge/guide/platforms/android/plugin.md | 4 +++-
 docs/en/edge/guide/platforms/ios/plugin.md     | 4 +++-
 3 files changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1904513f/docs/en/edge/config_ref/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/config_ref/index.md b/docs/en/edge/config_ref/index.md
index e060740..d721300 100644
--- a/docs/en/edge/config_ref/index.md
+++ b/docs/en/edge/config_ref/index.md
@@ -51,9 +51,7 @@ An example:
 
         <widget>
             <preference name="MySetting" value="true" />
-            <plugins>
-                <plugin name="MyPlugin" value="MyPluginClass" />
-            </plugins>
+            <feature name="MyPlugin" value="MyPluginClass" />
             <access origin="*" />
             <content src="index.html" />
         </widget>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1904513f/docs/en/edge/guide/platforms/android/plugin.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/android/plugin.md b/docs/en/edge/guide/platforms/android/plugin.md
index c23ffcf..c71971a 100644
--- a/docs/en/edge/guide/platforms/android/plugin.md
+++ b/docs/en/edge/guide/platforms/android/plugin.md
@@ -118,7 +118,9 @@ If you do not need to run on the UI thread, but do not want to block the
WebCore
 
 Add the following to our `config.xml` file:
 
-    <plugin name="Echo" value="org.apache.cordova.plugin.Echo" />
+    <feature name="Echo">
+        <param name="android-package" value="org.apache.cordova.plugin.Echo" />
+    </feature>
 
 Then add the following file to
 `src/org/apache/cordova/plugin/Echo.java` inside our Cordova-Android

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1904513f/docs/en/edge/guide/platforms/ios/plugin.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ios/plugin.md b/docs/en/edge/guide/platforms/ios/plugin.md
index 7256de1..1d7e5e8 100644
--- a/docs/en/edge/guide/platforms/ios/plugin.md
+++ b/docs/en/edge/guide/platforms/ios/plugin.md
@@ -101,7 +101,9 @@ callback does not fire.
 
 We would add the following to the `<plugins>` tag of the project's `config.xml` file:
 
-    <plugin name="Echo" value="Echo" />
+    <feature name="Echo">
+        <param name="ios-package" value="Echo" />
+    </feature>
 
 Then we would add the following files (`Echo.h` and `Echo.m`) to the Plugins folder inside
our Cordova-iOS
 application folder:


Mime
View raw message