Fix CameraPopoverHandle module defined multiple times on iOS

This commit is contained in:
Andrew Grieve 2013-06-28 20:24:53 -04:00
parent ff587d400e
commit ea7bddac52

View File

@ -11,9 +11,6 @@
<js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions"></js-module> <js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions"></js-module>
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
</js-module>
<js-module src="www/Camera.js" name="camera"> <js-module src="www/Camera.js" name="camera">
<clobbers target="navigator.camera" /> <clobbers target="navigator.camera" />
</js-module> </js-module>
@ -30,6 +27,10 @@
</config-file> </config-file>
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/core" /> <source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/core" />
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
</js-module>
</platform> </platform>
<!-- ios --> <!-- ios -->
@ -56,6 +57,9 @@
<config-file target="www/config.xml" parent="/widget"> <config-file target="www/config.xml" parent="/widget">
<feature name="Camera" value="Camera"/> <feature name="Camera" value="Camera"/>
</config-file> </config-file>
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
</js-module>
</platform> </platform>
<!-- wp7 --> <!-- wp7 -->
@ -71,6 +75,9 @@
</config-file> </config-file>
<source-file src="src/wp7/Camera.cs" /> <source-file src="src/wp7/Camera.cs" />
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
</js-module>
</platform> </platform>
<!-- wp8 --> <!-- wp8 -->
@ -86,6 +93,9 @@
</config-file> </config-file>
<source-file src="src/wp8/Camera.cs" /> <source-file src="src/wp8/Camera.cs" />
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
</js-module>
</platform> </platform>
</plugin> </plugin>