Skip to content

Commit

Permalink
user-location: lint (semi)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Castle committed Dec 31, 2024
1 parent 7d30f9c commit aa7e9b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mobile/plugins/user-location.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ window.plugin.userLocation.locate = function(lat, lng, accuracy, persistentZoom)
}

window.map.setView(latlng, zoom);
}
};

window.plugin.userLocation.onLocationChange = function(lat, lng) {
if(!window.plugin.userLocation.marker) return;
Expand Down Expand Up @@ -156,10 +156,10 @@ window.plugin.userLocation.onOrientationChange = function(direction) {

// HOOK: fired when the marker direction is changed
window.runHooks('pluginUserLocation', {event: 'onOrientationChange', data:window.plugin.userLocation.user });
}
};

window.plugin.userLocation.getUser = function() {
return window.plugin.userLocation.user;
}
};

var setup = window.plugin.userLocation.setup;

0 comments on commit aa7e9b3

Please sign in to comment.