删除多出来的代码,这些会在安装插件时添加上,应该是 cordova plugin 的安装机制。
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
cordova.define("cordova-shuto-api.ShutoApi", function(require, exports, module) {
|
||||
var exec = require('cordova/exec');
|
||||
|
||||
// 初始化插件对象
|
||||
@@ -57,5 +56,3 @@ function onEvent(eventData) {
|
||||
exec(onEvent, null, 'ShutoApi', 'registerEvent', []);
|
||||
|
||||
module.exports = ShutoApi;
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user