mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
backend: cleaned console.logs
This commit is contained in:
parent
c92f84c24f
commit
723ab51eef
5 changed files with 0 additions and 9 deletions
|
@ -58,7 +58,6 @@ export const PROVIDERS = ENABLED.reduce((obj, provider) => ({
|
|||
}), {});
|
||||
|
||||
export const replaceProviderUrl = (provider, { x, y, zoom }) => {
|
||||
console.log('got provider', provider);
|
||||
const { url, range } = (PROVIDERS[provider] || PROVIDERS[DEFAULT_PROVIDER]);
|
||||
const random = (range && range.length >= 2) ? range[Math.round((Math.random() * (range.length - 1)))] : 1;
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ export class Router {
|
|||
};
|
||||
//
|
||||
lockPropagations = () => {
|
||||
console.log('lock');
|
||||
window.addEventListener('mouseup', this.unlockPropagations);
|
||||
this.lockMapClicks(true);
|
||||
};
|
||||
|
|
|
@ -99,7 +99,6 @@ export class Sticker {
|
|||
};
|
||||
|
||||
estimateAngle = e => {
|
||||
console.log('est');
|
||||
const { x, y } = this.element.getBoundingClientRect();
|
||||
const { pageX, pageY } = e;
|
||||
this.angle = Math.atan2((y - pageY), (x - pageX));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue