Commit d0eb9815 authored by Chris Scott's avatar Chris Scott

Match cordova define with id from config.xml

parent 027c2300
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
* under the License. * under the License.
* *
*/ */
cordova.define("org.transistorsoft.cordova.BackgroundGeolocation", function(require, exports, module) {
var exec = require('cordova/exec');
/** var exec = require('cordova/exec');
/**
* Provides access to the vibration mechanism on the device. * Provides access to the vibration mechanism on the device.
*/ */
module.exports = { module.exports = {
/** /**
* Configure the native API with our authentication-token and url to POST locations to * Configure the native API with our authentication-token and url to POST locations to
* TODO Native plugin assumes the json-structure as required by our rails server * TODO Native plugin assumes the json-structure as required by our rails server
...@@ -65,5 +65,4 @@ cordova.define("org.transistorsoft.cordova.BackgroundGeolocation", function(requ ...@@ -65,5 +65,4 @@ cordova.define("org.transistorsoft.cordova.BackgroundGeolocation", function(requ
fail = (typeof(fail) === 'function') ? fail : function() {}; fail = (typeof(fail) === 'function') ? fail : function() {};
return Cordova.exec(success, fail, "BackgroundGeoLocation", "stop", [options]); return Cordova.exec(success, fail, "BackgroundGeoLocation", "stop", [options]);
} }
} };
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment