Plugin XML settings

This commit is contained in:
Michael Bykovski 2017-07-11 15:35:12 +02:00
parent fb261d6c67
commit ac5b47b1a0
3 changed files with 43 additions and 49 deletions

View File

@ -21,7 +21,7 @@
<source-file src="src/android/NanoHTTPDWebserver.java" target-dir="src/org/apache/cordova/plugin"/>
<config-file target="config.xml" parent="/*">
<feature name="Webserver">
<param name="android-package" value="Webserver"/>
<param name="android-package" value="org.apache.cordova.plugin.Webserver"/>
</feature>
</config-file>
</platform>

View File

@ -1,4 +1,3 @@
cordova.define("cordova-plugin-webserver-tests.tests", function(require, exports, module) {
exports.defineAutoTests = function() {
describe('Webserver (window.webserver)', function () {
@ -91,5 +90,3 @@ exports.defineManualTests = function(contentEl, createActionButton) {
);
});
};
});

View File

@ -1,4 +1,3 @@
cordova.define("cordova-plugin-webserver.webserver", function(require, exports, module) {
var WEBSERVER_CLASS = "Webserver";
exports.start = function(success_callback, error_callback, port) {
@ -45,5 +44,3 @@ cordova.define("cordova-plugin-webserver.webserver", function(require, exports,
[]
);
};
});