Merge pull request #6200 from mertkahyaoglu/master

minor changes in decoration.coffee
This commit is contained in:
Ben Ogle 2015-04-01 08:31:57 -07:00
commit 72aa0524c4

View File

@ -20,7 +20,7 @@ nextId = -> idCounter++
# decoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'}) # decoration = editor.decorateMarker(marker, {type: 'line', class: 'my-line-class'})
# ``` # ```
# #
# Best practice for destorying the decoration is by destroying the {Marker}. # Best practice for destroying the decoration is by destroying the {Marker}.
# #
# ```coffee # ```coffee
# marker.destroy() # marker.destroy()
@ -56,7 +56,6 @@ class Decoration
@properties.id = @id @properties.id = @id
@flashQueue = null @flashQueue = null
@destroyed = false @destroyed = false
@markerDestroyDisposable = @marker.onDidDestroy => @destroy() @markerDestroyDisposable = @marker.onDidDestroy => @destroy()
# Essential: Destroy this marker. # Essential: Destroy this marker.