Updated Branches:
  refs/heads/master 56a3f96e6 -> 216377214

Revert previous commit

JS files were not actually being defined twice on iOS, rather the iOS JS files
are supposed to be merged into the core JS files.


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/21637721
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/21637721
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/21637721

Branch: refs/heads/master
Commit: 216377214dcbea7ffe6737e3e8a8bcacc91e3369
Parents: 56a3f96
Author: Ian Clelland <[email protected]>
Authored: Fri Jul 5 11:49:50 2013 -0400
Committer: Ian Clelland <[email protected]>
Committed: Fri Jul 5 11:49:50 2013 -0400

----------------------------------------------------------------------
 plugin.xml | 41 ++++++++---------------------------------
 1 file changed, 8 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/21637721/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index f0c0c93..e7c2ee3 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -5,6 +5,14 @@
       version="0.1.0">
     <name>Contacts</name>
     
+    <js-module src="www/contacts.js" name="contacts">
+        <clobbers target="navigator.contacts" />
+    </js-module>
+
+    <js-module src="www/Contact.js" name="Contact">
+        <clobbers target="Contact" />
+    </js-module>
+
     <js-module src="www/ContactAddress.js" name="ContactAddress">
         <clobbers target="ContactAddress" />
     </js-module>
@@ -45,14 +53,6 @@
             <uses-permission android:name="android.permission.GET_ACCOUNTS" />
         </config-file>
         
-        <js-module src="www/contacts.js" name="contacts">
-            <clobbers target="navigator.contacts" />
-        </js-module>
-
-        <js-module src="www/Contact.js" name="Contact">
-            <clobbers target="Contact" />
-        </js-module>
-
         <source-file src="src/android/ContactAccessor.java" 
target-dir="src/org/apache/cordova/core" />
         <source-file src="src/android/ContactAccessorSdk5.java" 
target-dir="src/org/apache/cordova/core" />
         <source-file src="src/android/ContactManager.java" 
target-dir="src/org/apache/cordova/core" />
@@ -85,15 +85,6 @@
         <config-file target="www/config.xml" parent="/widget">
             <feature name="Contacts" value="Contacts"/>
         </config-file>
-
-        <js-module src="www/contacts.js" name="contacts">
-            <clobbers target="navigator.contacts" />
-        </js-module>
-
-        <js-module src="www/Contact.js" name="Contact">
-            <clobbers target="Contact" />
-        </js-module>
-
         <source-file src="src/blackberry10/index.js" 
target-dir="Contacts"></source-file>
         <source-file src="src/blackberry10/ContactActivity.js" 
target-dir="Contacts"></source-file>
         <source-file src="src/blackberry10/ContactAddress.js" 
target-dir="Contacts"></source-file>
@@ -116,14 +107,6 @@
             </feature>
         </config-file>
 
-        <js-module src="www/contacts.js" name="contacts">
-            <clobbers target="navigator.contacts" />
-        </js-module>
-
-        <js-module src="www/Contact.js" name="Contact">
-            <clobbers target="Contact" />
-        </js-module>
-
         <config-file target="Properties/WMAppManifest.xml" 
parent="/Deployment/App/Capabilities">
             <Capability Name="ID_CAP_CONTACTS" />
         </config-file>
@@ -143,14 +126,6 @@
             <Capability Name="ID_CAP_CONTACTS" />
         </config-file>
 
-        <js-module src="www/contacts.js" name="contacts">
-            <clobbers target="navigator.contacts" />
-        </js-module>
-
-        <js-module src="www/Contact.js" name="Contact">
-            <clobbers target="Contact" />
-        </js-module>
-
         <source-file src="src/wp8/Contacts.cs" />
     </platform>
 

Reply via email to