Unverified Commit 21a1f769 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
Browse files

fix: remove duplicate options declaration

parent a5651159
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
<script>
import { onMounted, ref, inject, nextTick } from "vue";
import { remapEvents, propsBinder } from "../utils.js";
import {
  props as circleProps,
  setup as circleSetup,
} from "../functions/circle";
import { props, setup as circleSetup } from "../functions/circle";
import { render } from "../functions/layer";

/**
@@ -12,13 +9,7 @@ import { render } from "../functions/layer";
 */
export default {
  name: "LCircle",
  props: {
    ...circleProps,
    options: {
      type: Object,
      default: () => ({}),
    },
  },
  props,
  setup(props, context) {
    const leafletRef = ref({});
    const ready = ref(false);
+2 −11
Original line number Diff line number Diff line
<script>
import { onMounted, ref, inject, nextTick } from "vue";
import { remapEvents, propsBinder } from "../utils.js";
import {
  props as circleMarkerProps,
  setup as circleMarkerSetup,
} from "../functions/circleMarker";
import { props, setup as circleMarkerSetup } from "../functions/circleMarker";
import { render } from "../functions/layer";

/**
@@ -12,13 +9,7 @@ import { render } from "../functions/layer";
 */
export default {
  name: "LCircleMarker",
  props: {
    ...circleMarkerProps,
    options: {
      type: Object,
      default: () => ({}),
    },
  },
  props,
  setup(props, context) {
    const leafletRef = ref({});
    const ready = ref(false);
+0 −4
Original line number Diff line number Diff line
@@ -21,10 +21,6 @@ export default {
      custom: true,
      default: false,
    },
    options: {
      type: Object,
      default: () => ({}),
    },
  },
  setup(props, context) {
    const leafletRef = ref({});
+2 −8
Original line number Diff line number Diff line
<script>
import { onMounted, ref, inject, nextTick } from "vue";
import {
  props as attributionControlProps,
  props,
  setup as attributionControlSetup,
} from "../functions/controlAttribution";
import { propsBinder } from "../utils.js";

export default {
  name: "LControlAttribution",
  props: {
    ...attributionControlProps,
    options: {
      type: Object,
      default: () => ({}),
    },
  },
  props,
  setup(props, context) {
    const leafletRef = ref({});

+2 −11
Original line number Diff line number Diff line
<script>
import { onMounted, ref, inject, nextTick } from "vue";
import {
  props as layerControlProps,
  setup as layerControlSetup,
} from "../functions/controlLayers";
import { props, setup as layerControlSetup } from "../functions/controlLayers";
import { propsBinder } from "../utils.js";

export default {
  name: "LControlLayers",
  props: {
    ...layerControlProps,
    options: {
      type: Object,
      default: () => ({}),
    },
  },
  props,
  setup(props, context) {
    const leafletRef = ref({});

Loading