Loading .eslintrc.js 0 → 100644 +30 −0 Original line number Diff line number Diff line module.exports = { root: true, env: { node: true }, extends: [ "plugin:vue/vue3-essential", "eslint:recommended", "@vue/prettier", "plugin:cypress/recommended" ], parserOptions: { parser: "babel-eslint" }, rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" }, overrides: [ { files: [ "**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)" ], env: { jest: true } } ] }; components/Marker.vue +4 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ </template> <script> import {inject, ref} from "vue"; import {inject, ref, computed} from "vue"; export default { props: { Loading @@ -27,7 +27,9 @@ export default { "mapPromise" ); if (mapPromise) { const hasLocation = computed(()=> props?.location?.lat && props?.location?.lng); if (mapPromise && hasLocation.value) { mapPromise.then((googleMap) => { const infoWindow = new google.maps.InfoWindow(); const options = { Loading package.json 100755 → 100644 +1 −1 Original line number Diff line number Diff line { "name": "@fawmi/vue-google-maps", "description": "Google Map components for Vue.js 3", "version": "0.2.3", "version": "0.2.6", "private": false, "main": "index.js", "scripts": { Loading Loading
.eslintrc.js 0 → 100644 +30 −0 Original line number Diff line number Diff line module.exports = { root: true, env: { node: true }, extends: [ "plugin:vue/vue3-essential", "eslint:recommended", "@vue/prettier", "plugin:cypress/recommended" ], parserOptions: { parser: "babel-eslint" }, rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" }, overrides: [ { files: [ "**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)" ], env: { jest: true } } ] };
components/Marker.vue +4 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ </template> <script> import {inject, ref} from "vue"; import {inject, ref, computed} from "vue"; export default { props: { Loading @@ -27,7 +27,9 @@ export default { "mapPromise" ); if (mapPromise) { const hasLocation = computed(()=> props?.location?.lat && props?.location?.lng); if (mapPromise && hasLocation.value) { mapPromise.then((googleMap) => { const infoWindow = new google.maps.InfoWindow(); const options = { Loading
package.json 100755 → 100644 +1 −1 Original line number Diff line number Diff line { "name": "@fawmi/vue-google-maps", "description": "Google Map components for Vue.js 3", "version": "0.2.3", "version": "0.2.6", "private": false, "main": "index.js", "scripts": { Loading