Loading src/utils.js +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ export const capitalizeFirstLetter = (string) => { return string.charAt(0).toUpperCase() + string.slice(1); }; export const isFunction = (obj) => obj && typeof obj === "function"; export const isFunction = (x) => typeof x === "function"; export const propsBinder = (methods, leafletElement, props) => { for (const key in props) { Loading Loading
src/utils.js +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ export const capitalizeFirstLetter = (string) => { return string.charAt(0).toUpperCase() + string.slice(1); }; export const isFunction = (obj) => obj && typeof obj === "function"; export const isFunction = (x) => typeof x === "function"; export const propsBinder = (methods, leafletElement, props) => { for (const key in props) { Loading