summaryrefslogtreecommitdiff
path: root/common/content/finder.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-06-02 16:56:28 +1000
committerDoug Kearns <dougkearns@gmail.com>2009-06-02 16:59:24 +1000
commit6d7b94daa6e940fd1f95ead45b9a247670d22d54 (patch)
treef39522d54dc6a307e2d1cca6ac30a198d02f93b9 /common/content/finder.js
parent95dffaf95a3653e55a34e090b800f9a79e9a8fd5 (diff)
downloadpentadactyl-6d7b94daa6e940fd1f95ead45b9a247670d22d54.tar.gz
Add missing semicolons.
Diffstat (limited to 'common/content/finder.js')
-rw-r--r--common/content/finder.js18
1 files changed, 9 insertions, 9 deletions
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();
}
};
//}}}