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. 2
      src/label.ts
  3. 2
      src/marker-safe.ts
  4. 1
      src/marker.ts

2
package.json

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

2
src/label.ts

@ -51,7 +51,7 @@ export class Label extends OverlayViewSafe { @@ -51,7 +51,7 @@ export class Label extends OverlayViewSafe {
labelZIndexOffset = 1,
zIndex = 0,
}: LabelOptions) {
super();
super();
this.createElements();

2
src/marker-safe.ts

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
import {extend} from "./util";
import { extend } from "./util";
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface MarkerSafe extends google.maps.Marker {}

1
src/marker.ts

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

Loading…
Cancel
Save