Skip to content
Permalink
Browse files
CB-9105: Fixing JS errors in the shim
  • Loading branch information
infil00p committed Oct 28, 2015
1 parent e713e7a commit cab6f22d5b20fbb3a68a1f4775d1d0873b82dd61
Showing 1 changed file with 2 additions and 2 deletions.
@@ -37,10 +37,10 @@ module.exports = {
exec(win, error, "Geolocation", "getPermission", []);
},

addWatch: function(success, error, args) {
watchPosition: function(success, error, args) {
var win = function() {
var geo = cordova.require('cordova/modulemapper').getOriginalSymbol(window, 'navigator.geolocation');
geo.watchPosition(successCallback, error, {
geo.watchPosition(success, error, {
enableHighAccuracy: args[1]
});
};

0 comments on commit cab6f22

Please sign in to comment.