From 6d7b94daa6e940fd1f95ead45b9a247670d22d54 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 2 Jun 2009 16:56:28 +1000 Subject: Add missing semicolons. --- common/content/finder.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'common/content/finder.js') diff --git a/common/content/finder.js b/common/content/finder.js index 33494d49..843bb1c6 100644 --- a/common/content/finder.js +++ b/common/content/finder.js @@ -223,7 +223,7 @@ function Finder() //{{{ var parent = before.parentNode; aNode.appendChild(docfrag); parent.insertBefore(aNode, before); - this.spans.push(aNode) + this.spans.push(aNode); return aNode; }, @@ -236,17 +236,17 @@ function Finder() //{{{ { if (span.parentNode) { - let el = span.firstChild + let el = span.firstChild; while (el) { - span.removeChild(el) - span.parentNode.insertBefore(el, span) + span.removeChild(el); + span.parentNode.insertBefore(el, span); el = span.firstChild; } span.parentNode.removeChild(span); } - }) - this.spans = [] + }); + this.spans = []; }, getSpans: function (doc) this.spans @@ -318,7 +318,7 @@ function Finder() //{{{ let word = buffer.getCurrentWord(); // A hacky way to move after the current match before searching forwards window.content.getSelection().getRangeAt(0).collapse(false); - finder.onSubmit(word, false) + finder.onSubmit(word, false); }); mappings.add(myModes.concat([modes.CARET, modes.TEXTAREA]), ["#"], @@ -329,7 +329,7 @@ function Finder() //{{{ let word = buffer.getCurrentWord(); // A hacky way to move before the current match before searching backwards window.content.getSelection().getRangeAt(0).collapse(true); - finder.onSubmit(word, true) + finder.onSubmit(word, true); }); /////////////////////////////////////////////////////////////////////////////}}} @@ -519,7 +519,7 @@ function Finder() //{{{ */ clear: function () { - highlightObj.clear() + highlightObj.clear(); } }; //}}} -- cgit v1.2.3