Implement lint

This commit is contained in:
2026-08-27 12:45:30 +02:00
parent 171db88400
commit 17009b641f
41 changed files with 70402 additions and 580 deletions
+5 -5
View File
@@ -183,7 +183,7 @@ export default {
positionFromTop: 0,
resizeDuration: parseFloat(this.getStyleProperty('--trans-slow')),
hasVideo: true,
onMediaChange: async (oMedia) => {
onMediaChange: async(oMedia) => {
this.hash.items = [this.project.codename, 'media', oMedia.id];
if(oMedia.set == 'post-medias') {
(await this.feed.findPost('media', oMedia.id))?.panMapToMarker();
@@ -439,7 +439,7 @@ export default {
onMarkerClick(oEvent, oMarker) {
oEvent.preventDefault();
oEvent.stopPropagation();
switch (oMarker.type) {
switch(oMarker.type) {
case 'project':
this.hash.items = [oMarker.codename];
break;
@@ -448,7 +448,7 @@ export default {
}
},
onMarkerHover(oEvent, oMarker) {
switch (oMarker.type) {
switch(oMarker.type) {
case 'project':
if(oEvent.type == 'mouseenter') this.openProjectPopup(oMarker);
else this.closePopup();
@@ -651,7 +651,7 @@ export default {
getStyleProperty(sProperty) {
return getComputedStyle(this.$el).getPropertyValue(sProperty).trim();
},
isMarkerVisible(oLngLat){
isMarkerVisible(oLngLat) {
return !!this.map && this.map.getBounds().contains(oLngLat);
},
onPanelToggle(sPanel, bNewValue, iAnimDuration=500) {
@@ -674,7 +674,7 @@ export default {
this.settings = vPanel;
}
}
}
};
</script>
<template>