更新插件名称
This commit is contained in:
parent
a0aab26bdc
commit
2ee0c1a205
@ -1,8 +1,8 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<plugin id="capture-cordova-plugin" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<name>Capture Plugin</name>
|
||||
<js-module name="capture-cordova-plugin" src="www/capture.js">
|
||||
<name>CapturePlugin</name>
|
||||
<js-module name="capture" src="www/capture.js">
|
||||
<clobbers target="capture"/>
|
||||
</js-module>
|
||||
<platform name="android">
|
||||
|
@ -2,6 +2,6 @@ var exec = require('cordova/exec');
|
||||
|
||||
module.exports = {
|
||||
capture(option, success, error) {
|
||||
exec(success, error, 'capture-cordova-plugin', 'capture', [option]);
|
||||
exec(success, error, 'CapturePlugin', 'capture', [option]);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user