cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: updated plugin.xml to use feature
Date Mon, 13 May 2013 20:58:29 GMT
Updated Branches:
  refs/heads/master 12d6ac7a5 -> 7617ea07e


updated plugin.xml to use feature


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/7617ea07
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/7617ea07
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/7617ea07

Branch: refs/heads/master
Commit: 7617ea07ebf4d28ca325edbfd4c1b19b51691d60
Parents: 12d6ac7
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon May 13 13:58:25 2013 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon May 13 13:58:25 2013 -0700

----------------------------------------------------------------------
 plugin.xml |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/7617ea07/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index b58bd60..fb2c3f1 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -22,21 +22,25 @@ id="org.apache.cordova.core.CompassListener"
     <!-- android -->
     <platform name="android">
         <config-file target="res/xml/config.xml" parent="plugins">
-	        <plugin name="Compass" value="org.apache.cordova.core.CompassListener" />
-	    </config-file>
+	    <feature name="Compass">
+	        <param name="android-package" value="org.apache.cordova.core.CompassListener"/>
+	    </feature>
+	</config-file>
 
-	    <source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/core"
/>
+	<source-file src="src/android/CompassListener.java" target-dir="src/org/apache/cordova/core"
/>
     </platform>
     
     <!-- ios -->
     <platform name="ios">
         
-        <config-file target="config.xml" parent="plugins">
-            <plugin name="Compass" value="CDVCompass"/>
+	<config-file target="config.xml" parent="plugins">
+	    <feature name="Compass">
+	        <param name="ios-package" value="CDVCompass"/>
+	    </feature>
         </config-file>
         
-	    <header-file src="src/ios/CDVCompass.h" />
-	    <source-file src="src/ios/CDVCompass.m" />
+	<header-file src="src/ios/CDVCompass.h" />
+	<source-file src="src/ios/CDVCompass.m" />
         
     </platform>
     


Mime
View raw message