Skip to content

Commit

Permalink
chore(internal/geolocation.js): clean up lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Sep 26, 2023
1 parent e2ee878 commit f1ca4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/internal/geolocation.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global GeolocationCoordinates, GeolocationPosition, GeolocationPositionError */
import ipc from '../ipc.js'
import os from '../os.js'

Expand All @@ -17,7 +18,6 @@ class Watcher {
}
}


globalThis.addEventListener('data', this.listener)
}

Expand Down Expand Up @@ -74,7 +74,7 @@ function createGeolocationPosition (data) {
configurable: false,
writable: false,
value: data.coords.speed <= 0 ? null : data.coords.speed
},
}
})

return Object.create(GeolocationPosition.prototype, {
Expand Down

0 comments on commit f1ca4e9

Please sign in to comment.