Browse Source

style: apply formatting

main
Justin 4 years ago
parent
commit
55c9552cfe
No known key found for this signature in database
GPG Key ID: 9FB75650003F97D8
  1. 2
      package.json
  2. 1
      src/marker.ts

2
package.json

@ -29,7 +29,7 @@
"format": "prettier *.json *.js e2e/* examples/*.html --write && eslint src/* --fix", "format": "prettier *.json *.js e2e/* examples/*.html --write && eslint src/* --fix",
"lint": "eslint src/*", "lint": "eslint src/*",
"prepare": "rollup -c", "prepare": "rollup -c",
"test": "jest --passWithNoTests src/*", "test": "jest src/*",
"test:e2e": "jest --passWithNoTests e2e/*" "test:e2e": "jest --passWithNoTests e2e/*"
}, },
"devDependencies": { "devDependencies": {

1
src/marker.ts

@ -133,7 +133,6 @@ export class MarkerWithLabel extends MarkerSafe {
}), }),
this.label.addDomListener(MOUSEOUT, (e) => { this.label.addDomListener(MOUSEOUT, (e) => {
if (!this.isTouchScreen) { if (!this.isTouchScreen) {
// wrap the mouseout event in a timeout to avoid the case where mouseup occurs out // wrap the mouseout event in a timeout to avoid the case where mouseup occurs out
if (this.mouseOutTimeout) { if (this.mouseOutTimeout) {
clearTimeout(this.mouseOutTimeout); clearTimeout(this.mouseOutTimeout);

Loading…
Cancel
Save