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

Commit

Permalink
👕 Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Scandurra committed May 4, 2016
1 parent f87f806 commit 816bc75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/marker-layer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class MarkerLayer
# locations.
copy: ->
copy = @delegate.addMarkerLayer({@maintainHistory})
@markersById.forEach (marker, id) =>
@markersById.forEach (marker, id) ->
snapshot = marker.getSnapshot(null)
copy.createMarker(marker.getRange(), marker.getSnapshot())
copy
Expand Down Expand Up @@ -145,7 +145,7 @@ class MarkerLayer
if marker.matchesParams(params)
result.push(marker)
else
@markersById.forEach (marker) =>
@markersById.forEach (marker) ->
if marker.matchesParams(params)
result.push(marker)

Expand Down Expand Up @@ -300,7 +300,7 @@ class MarkerLayer
createSnapshot: ->
result = {}
ranges = @index.dump()
@markersById.forEach (marker, id) =>
@markersById.forEach (marker, id) ->
result[id] = marker.getSnapshot(Range.fromObject(ranges[id]), false)
result

Expand All @@ -313,7 +313,7 @@ class MarkerLayer
serialize: ->
ranges = @index.dump()
markersById = {}
@markersById.forEach (marker, id) =>
@markersById.forEach (marker, id) ->
markersById[id] = marker.getSnapshot(Range.fromObject(ranges[id]), false)
{@id, @maintainHistory, @persistent, markersById, version: SerializationVersion}

Expand Down

0 comments on commit 816bc75

Please sign in to comment.