Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 816bc75

Browse files
author
Antonio Scandurra
committed
👕 Fix linter errors
1 parent f87f806 commit 816bc75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/marker-layer.coffee

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class MarkerLayer
5252
# locations.
5353
copy: ->
5454
copy = @delegate.addMarkerLayer({@maintainHistory})
55-
@markersById.forEach (marker, id) =>
55+
@markersById.forEach (marker, id) ->
5656
snapshot = marker.getSnapshot(null)
5757
copy.createMarker(marker.getRange(), marker.getSnapshot())
5858
copy
@@ -145,7 +145,7 @@ class MarkerLayer
145145
if marker.matchesParams(params)
146146
result.push(marker)
147147
else
148-
@markersById.forEach (marker) =>
148+
@markersById.forEach (marker) ->
149149
if marker.matchesParams(params)
150150
result.push(marker)
151151

@@ -300,7 +300,7 @@ class MarkerLayer
300300
createSnapshot: ->
301301
result = {}
302302
ranges = @index.dump()
303-
@markersById.forEach (marker, id) =>
303+
@markersById.forEach (marker, id) ->
304304
result[id] = marker.getSnapshot(Range.fromObject(ranges[id]), false)
305305
result
306306

@@ -313,7 +313,7 @@ class MarkerLayer
313313
serialize: ->
314314
ranges = @index.dump()
315315
markersById = {}
316-
@markersById.forEach (marker, id) =>
316+
@markersById.forEach (marker, id) ->
317317
markersById[id] = marker.getSnapshot(Range.fromObject(ranges[id]), false)
318318
{@id, @maintainHistory, @persistent, markersById, version: SerializationVersion}
319319

0 commit comments

Comments
 (0)