Loading src/utils.js +10 −1 Original line number Diff line number Diff line import { watch } from "vue"; import { watch, reactive } from "vue"; export const debounce = (fn, time) => { let timeout; Loading Loading @@ -70,3 +70,12 @@ export const resetWebpackIcon = (Icon) => { shadowUrl: require("leaflet/dist/images/marker-shadow.png"), }); }; export const generateMethodsPlaceholder = (methods) => { const base = reactive({}); return methods.reduce((acc, curr) => { acc[curr] = () => console.warn("This method has been invoked without being replaced "); return acc; }, base); }; Loading
src/utils.js +10 −1 Original line number Diff line number Diff line import { watch } from "vue"; import { watch, reactive } from "vue"; export const debounce = (fn, time) => { let timeout; Loading Loading @@ -70,3 +70,12 @@ export const resetWebpackIcon = (Icon) => { shadowUrl: require("leaflet/dist/images/marker-shadow.png"), }); }; export const generateMethodsPlaceholder = (methods) => { const base = reactive({}); return methods.reduce((acc, curr) => { acc[curr] = () => console.warn("This method has been invoked without being replaced "); return acc; }, base); };