prettier js

This commit is contained in:
Yohan Boniface 2023-06-23 21:02:54 +02:00
parent b267615062
commit c8f853cbaf

View file

@ -645,5 +645,10 @@ L.U.Orderable = L.Evented.extend({
})
L.LatLng.prototype.isValid = function () {
return (isFinite(this.lat) && Math.abs(this.lat) <= 90 && isFinite(this.lng) && Math.abs(this.lng) <= 180)
return (
isFinite(this.lat) &&
Math.abs(this.lat) <= 90 &&
isFinite(this.lng) &&
Math.abs(this.lng) <= 180
)
}