Commit dbbd0b7d authored by Chris Scott's avatar Chris Scott

Rename

parent c6327323
...@@ -40,7 +40,7 @@ module.exports = { ...@@ -40,7 +40,7 @@ module.exports = {
} }
exec(mySuccess, exec(mySuccess,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'configure', 'configure',
[config] [config]
); );
...@@ -48,14 +48,14 @@ module.exports = { ...@@ -48,14 +48,14 @@ module.exports = {
start: function(success, failure, config) { start: function(success, failure, config) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'start', 'start',
[]); []);
}, },
stop: function(success, failure, config) { stop: function(success, failure, config) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'stop', 'stop',
[]); []);
}, },
...@@ -65,7 +65,7 @@ module.exports = { ...@@ -65,7 +65,7 @@ module.exports = {
} }
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'finish', 'finish',
[taskId]); [taskId]);
}, },
...@@ -75,14 +75,14 @@ module.exports = { ...@@ -75,14 +75,14 @@ module.exports = {
} }
exec(function() {}, exec(function() {},
function() {}, function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'error', 'error',
[taskId, message]); [taskId, message]);
}, },
changePace: function(isMoving, success, failure) { changePace: function(isMoving, success, failure) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'changePace', 'changePace',
[isMoving]); [isMoving]);
}, },
...@@ -96,7 +96,7 @@ module.exports = { ...@@ -96,7 +96,7 @@ module.exports = {
this._apply(this.config, config); this._apply(this.config, config);
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'setConfig', 'setConfig',
[config]); [config]);
}, },
...@@ -106,7 +106,7 @@ module.exports = { ...@@ -106,7 +106,7 @@ module.exports = {
getStationaryLocation: function(success, failure) { getStationaryLocation: function(success, failure) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'getStationaryLocation', 'getStationaryLocation',
[]); []);
}, },
...@@ -133,7 +133,7 @@ module.exports = { ...@@ -133,7 +133,7 @@ module.exports = {
}; };
exec(callback, exec(callback,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'addStationaryRegionListener', 'addStationaryRegionListener',
[]); []);
}, },
...@@ -162,7 +162,7 @@ module.exports = { ...@@ -162,7 +162,7 @@ module.exports = {
}; };
exec(callback, exec(callback,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'addMotionChangeListener', 'addMotionChangeListener',
[]); []);
}, },
...@@ -180,7 +180,7 @@ module.exports = { ...@@ -180,7 +180,7 @@ module.exports = {
} }
exec(mySuccess, exec(mySuccess,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'getLocations', 'getLocations',
[]); []);
}, },
...@@ -202,7 +202,7 @@ module.exports = { ...@@ -202,7 +202,7 @@ module.exports = {
} }
exec(mySuccess, exec(mySuccess,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'sync', 'sync',
[]); []);
}, },
...@@ -212,7 +212,7 @@ module.exports = { ...@@ -212,7 +212,7 @@ module.exports = {
getOdometer: function(success, failure) { getOdometer: function(success, failure) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'getOdometer', 'getOdometer',
[]); []);
}, },
...@@ -222,7 +222,7 @@ module.exports = { ...@@ -222,7 +222,7 @@ module.exports = {
resetOdometer: function(success, failure) { resetOdometer: function(success, failure) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'resetOdometer', 'resetOdometer',
[]); []);
}, },
...@@ -245,7 +245,7 @@ module.exports = { ...@@ -245,7 +245,7 @@ module.exports = {
} }
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'addGeofence', 'addGeofence',
[config]); [config]);
}, },
...@@ -259,7 +259,7 @@ module.exports = { ...@@ -259,7 +259,7 @@ module.exports = {
} }
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'removeGeofence', 'removeGeofence',
[identifier]); [identifier]);
}, },
...@@ -278,7 +278,7 @@ module.exports = { ...@@ -278,7 +278,7 @@ module.exports = {
}; };
exec(mySuccess, exec(mySuccess,
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'onGeofence', 'onGeofence',
[]); []);
}, },
...@@ -288,7 +288,7 @@ module.exports = { ...@@ -288,7 +288,7 @@ module.exports = {
getGeofences: function(success, failure) { getGeofences: function(success, failure) {
exec(success || function() {}, exec(success || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'getGeofences', 'getGeofences',
[]); []);
}, },
...@@ -313,7 +313,7 @@ module.exports = { ...@@ -313,7 +313,7 @@ module.exports = {
} }
exec(mySuccess || function() {}, exec(mySuccess || function() {},
failure || function() {}, failure || function() {},
'BackgroundGeoLocation', 'BackgroundGeolocation',
'getCurrentPosition', 'getCurrentPosition',
[]); []);
}, },
...@@ -327,7 +327,7 @@ module.exports = { ...@@ -327,7 +327,7 @@ module.exports = {
var failure = function() {}; var failure = function() {};
exec(success, exec(success,
failure, failure,
'BackgroundGeoLocation', 'BackgroundGeolocation',
'playSound', 'playSound',
[soundId]); [soundId]);
}, },
......
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