@@ -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