Implement lint
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user