From 269419ab86f9d6086525c7ddf454644750681fe5 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Mon, 29 Jul 2013 20:27:31 +0200 Subject: [PATCH] Fix typo Line 64 in marker.coffee contains a reference to `@markedElement`, though that is the only occurance in the entire files. It clearly looks like it is a typo of `@markerElement`, by inspecting the nearby code. The odd thing, though, is that that line seems to have been added by commit b5f488df, and already there the typo exists. Has the code ever worked? I'm not sure if this fix currently fixes any issues, but it is needed in the Huffman branch in order not to throw errors. --- extension/packages/marker.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/packages/marker.coffee b/extension/packages/marker.coffee index 5a39066..af936b0 100644 --- a/extension/packages/marker.coffee +++ b/extension/packages/marker.coffee @@ -61,7 +61,7 @@ class Marker document = @element.ownerDocument while @markerElement.hasChildNodes() - @markerElement.removeChild(@markedElement.firstChild) + @markerElement.removeChild(@markerElement.firstChild) fragment = document.createDocumentFragment() for char in @hintChars -- 2.39.3