From 93e4b061fa63ee8b134f6bebaa3a148a3616c71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20Kahyao=C4=9Flu?= Date: Wed, 1 Apr 2015 14:48:23 +0300 Subject: [PATCH] minor changes in decoration.coffee --- src/decoration.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/decoration.coffee b/src/decoration.coffee index fdaaa285d..cbf649473 100644 --- a/src/decoration.coffee +++ b/src/decoration.coffee @@ -20,7 +20,7 @@ nextId = -> idCounter++ # 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 # marker.destroy() @@ -56,7 +56,6 @@ class Decoration @properties.id = @id @flashQueue = null @destroyed = false - @markerDestroyDisposable = @marker.onDidDestroy => @destroy() # Essential: Destroy this marker.